Skip to content

Commit 6809cf2

Browse files
Updated API version to 53. Reformatted the layout (indents). Updated some words to avoid mis-spellings. Updated annotations for consistency.
1 parent ade4dd3 commit 6809cf2

File tree

4 files changed

+260
-260
lines changed

4 files changed

+260
-260
lines changed

src/classes/TriggerHandler.cls

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
public virtual class TriggerHandler {
22

3-
// static map of handlername, times run() was invoked
3+
// static map of handler name, times run() was invoked
44
private static Map<String, LoopCount> loopCountMap;
55
private static Set<String> bypassedHandlers;
66

@@ -17,7 +17,7 @@ public virtual class TriggerHandler {
1717
loopCountMap = new Map<String, LoopCount>();
1818
bypassedHandlers = new Set<String>();
1919
}
20-
20+
2121
// constructor
2222
public TriggerHandler() {
2323
this.setTriggerContext();
@@ -96,7 +96,7 @@ public virtual class TriggerHandler {
9696
}
9797

9898
/***************************************
99-
* private instancemethods
99+
* private instance methods
100100
***************************************/
101101

102102
@TestVisible
@@ -112,7 +112,7 @@ public virtual class TriggerHandler {
112112
} else {
113113
this.isTriggerExecuting = true;
114114
}
115-
115+
116116
if((Trigger.isExecuting && Trigger.isBefore && Trigger.isInsert) ||
117117
(ctx != null && ctx == 'before insert')) {
118118
this.context = TriggerContext.BEFORE_INSERT;

src/classes/TriggerHandler.cls-meta.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>25.0</apiVersion>
3+
<apiVersion>53.0</apiVersion>
44
<packageVersions>
55
<majorNumber>3</majorNumber>
66
<minorNumber>5</minorNumber>

0 commit comments

Comments
 (0)