From 10592a770d246f623aea504674e9c4a837b7dfdb Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 11 Jul 2024 13:47:40 -0700 Subject: [PATCH] Formatting. --- src/System/Id/valueOf/System_Id_valueOf.cls | 4 ++-- src/System/Id/valueOf/System_Id_valueOf_TEST.cls | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/System/Id/valueOf/System_Id_valueOf.cls b/src/System/Id/valueOf/System_Id_valueOf.cls index 47af8a4..043a1f8 100644 --- a/src/System/Id/valueOf/System_Id_valueOf.cls +++ b/src/System/Id/valueOf/System_Id_valueOf.cls @@ -22,10 +22,10 @@ global class System_Id_valueOf { } global class Request { - @InvocableVariable(required='true' label='String' description='String to be converted to an ID.') + @InvocableVariable(label='String' required='true' description='String to be converted to an ID.') global String stringToId; - @InvocableVariable(required='false' label='Restore Casing?' description='If set to true, and the string represents an 18-character ID, the method returns an 18-character ID that is correctly aligned with its casing. Default value is false.') + @InvocableVariable(label='Restore Casing?' required='false' description='If set to true, and the string represents an 18-character ID, the method returns an 18-character ID that is correctly aligned with its casing. Default value is false.') global Boolean restoreCasing; global Request () {} diff --git a/src/System/Id/valueOf/System_Id_valueOf_TEST.cls b/src/System/Id/valueOf/System_Id_valueOf_TEST.cls index 0b43dda..34765f3 100644 --- a/src/System/Id/valueOf/System_Id_valueOf_TEST.cls +++ b/src/System/Id/valueOf/System_Id_valueOf_TEST.cls @@ -49,17 +49,17 @@ private class System_Id_valueOf_TEST { @isTest static void testManyArgs () { - List accountList = new List(); + List accounts = new List(); for (Integer i = 0; i < 200; i++) { Account a = new Account( Name = 'Test Account ' + i ); - accountList.add(a); + accounts.add(a); } - insert accountList; + insert accounts; Map stringMap = new Map(); - for (Account a : accountList) { + for (Account a : accounts) { stringMap.put(a.Id, a.Id); } -- 2.52.0