From c8d409e23bdb04877e83b3456f2ddf59adc762cd Mon Sep 17 00:00:00 2001 From: Ishita Mathur Date: Sun, 17 May 2020 23:21:06 +0530 Subject: [PATCH 1/2] semi colon --- force-app/main/default/classes/MyFirstClass.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/classes/MyFirstClass.cls b/force-app/main/default/classes/MyFirstClass.cls index 40a8721..fa68ce8 100644 --- a/force-app/main/default/classes/MyFirstClass.cls +++ b/force-app/main/default/classes/MyFirstClass.cls @@ -4,7 +4,7 @@ public with sharing class MyFirstClass { List newAcct = new List(); for(Integer i=0;i<10;i++){ //insert newAcct; - System.debug('Adding my first class') + System.debug('Adding my first class'); } } } From 62c07d7c823886c70f8149c0957468caea08db86 Mon Sep 17 00:00:00 2001 From: Ishita Mathur Date: Sun, 17 May 2020 23:32:13 +0530 Subject: [PATCH 2/2] checking acc creation --- force-app/main/default/classes/AccountCreation.cls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/force-app/main/default/classes/AccountCreation.cls b/force-app/main/default/classes/AccountCreation.cls index 27e2e34..d447ab0 100644 --- a/force-app/main/default/classes/AccountCreation.cls +++ b/force-app/main/default/classes/AccountCreation.cls @@ -5,7 +5,8 @@ public with sharing class AccountCreation { public static void newMethod(){ try{ throwableCall(); - }catch(Exception ex){ + } + catch(Exception ex){ //I am not doing anything here } }