Skip to content

Commit

Permalink
Updating test/build script to properly take into account test command…
Browse files Browse the repository at this point in the history
… not exiting process
  • Loading branch information
jamessimone committed Mar 16, 2021
1 parent e379c5f commit c184d86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rollup/main/default/classes/Rollup.cls
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ global without sharing virtual class Rollup implements Database.Batchable<SObjec
) {
QueryWrapper wrapper = new QueryWrapper(lookupSObjectName, lookupFieldOnLookupObject);
wrapper.setQuery(potentialWhereClause);
return performFullRecalculation(
return performFullRecalculationInner(
opFieldOnCalcItem,
lookupFieldOnCalcItem,
lookupFieldOnLookupObject,
Expand Down Expand Up @@ -533,7 +533,7 @@ global without sharing virtual class Rollup implements Database.Batchable<SObjec
String whereClause = String.isNotBlank(flowInput.calcItemWhereClause) ? flowInput.calcItemWhereClause + '\nAND ' : '';
QueryWrapper wrapper = getParentWhereClause(flowInput.recordsToRollup, flowInput.lookupFieldOnOpObject, flowInput.rollupSObjectName);
wrapper.setQuery(whereClause + wrapper.getQuery());
performFullRecalculation(
performFullRecalculationInner(
flowInput.rollupFieldOnCalcItem,
flowInput.lookupFieldOnCalcItem,
flowInput.lookupFieldOnOpObject,
Expand Down Expand Up @@ -1333,7 +1333,7 @@ global without sharing virtual class Rollup implements Database.Batchable<SObjec
if (rollupInfo.IsRollupStartedFromParent__c) {
shouldReturn = true;
QueryWrapper wrapper = getParentWhereClause(calcItems, rollupInfo.LookupFieldOnLookupObject__c, rollupInfo.LookupObject__c);
performFullRecalculation(
performFullRecalculationInner(
rollupInfo.RollupFieldOnCalcItem__c,
rollupInfo.LookupFieldOnCalcItem__c,
rollupInfo.LookupFieldOnLookupObject__c,
Expand All @@ -1354,7 +1354,7 @@ global without sharing virtual class Rollup implements Database.Batchable<SObjec

/** end global-facing section, begin public/private static helpers */

private static String performFullRecalculation(
private static String performFullRecalculationInner(
String opFieldOnCalcItem,
String lookupFieldOnCalcItem,
String lookupFieldOnLookupObject,
Expand Down

0 comments on commit c184d86

Please sign in to comment.