]> git.codecow.com Git - flowpex.git/commitdiff
Formatting.
authorChris Duncan <chris@flowpex.dev>
Thu, 11 Jul 2024 20:47:40 +0000 (13:47 -0700)
committerChris Duncan <chris@flowpex.dev>
Sat, 13 Jul 2024 23:20:08 +0000 (16:20 -0700)
src/System/Id/valueOf/System_Id_valueOf.cls
src/System/Id/valueOf/System_Id_valueOf_TEST.cls

index 47af8a496be1f6b20ba3b30194c0096a94828e6f..043a1f8792d746b5052fcc387c9be1b1480b8aca 100644 (file)
@@ -22,10 +22,10 @@ global class System_Id_valueOf {
     }\r
 \r
     global class Request {\r
-        @InvocableVariable(required='true' label='String' description='String to be converted to an ID.')\r
+        @InvocableVariable(label='String' required='true' description='String to be converted to an ID.')\r
         global String stringToId;\r
 \r
-        @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.')\r
+        @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.')\r
         global Boolean restoreCasing;\r
 \r
         global Request () {}\r
index 0b43dda4f28f4ab9e0871a4d1129983fa94c6e23..34765f337197c5c7efc6577ea7227a7ce1c7648a 100644 (file)
@@ -49,17 +49,17 @@ private class System_Id_valueOf_TEST {
 \r
     @isTest\r
     static void testManyArgs () {\r
-        List<Account> accountList = new List<Account>();\r
+        List<Account> accounts = new List<Account>();\r
         for (Integer i = 0; i < 200; i++) {\r
             Account a = new Account(\r
                 Name = 'Test Account ' + i\r
             );\r
-            accountList.add(a);\r
+            accounts.add(a);\r
         }\r
-        insert accountList;\r
+        insert accounts;\r
 \r
         Map<Id, String> stringMap = new Map<Id, String>();\r
-        for (Account a : accountList) {\r
+        for (Account a : accounts) {\r
             stringMap.put(a.Id, a.Id);\r
         }\r
 \r