Skip to content

Commit

Permalink
optimize: Correct word spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MaoMaoandSnail committed Sep 28, 2024
1 parent 94a265f commit 4417cc8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ protected StateMachineInstance forwardInternal(String stateMachineInstId, Map<St
if (replaceParams != null) {
contextVariables.putAll(replaceParams);
}
putBusinesskeyToContextariables(stateMachineInstance, contextVariables);
putBusinessKeyToContextVariables(stateMachineInstance, contextVariables);

ConcurrentHashMap<String, Object> concurrentContextVariables = new ConcurrentHashMap<>(contextVariables.size());
nullSafeCopy(contextVariables, concurrentContextVariables);
Expand Down Expand Up @@ -508,7 +508,7 @@ public StateMachineInstance compensateInternal(String stateMachineInstId, Map<St
if (replaceParams != null) {
contextVariables.putAll(replaceParams);
}
putBusinesskeyToContextariables(stateMachineInstance, contextVariables);
putBusinessKeyToContextVariables(stateMachineInstance, contextVariables);

ConcurrentHashMap<String, Object> concurrentContextVariables = new ConcurrentHashMap<>(contextVariables.size());
nullSafeCopy(contextVariables, concurrentContextVariables);
Expand Down Expand Up @@ -696,7 +696,7 @@ private String buildExceptionMessage(StateMachineInstance stateMachineInstance,
return stringBuilder.toString();
}

private void putBusinesskeyToContextariables(StateMachineInstance stateMachineInstance,
private void putBusinessKeyToContextVariables(StateMachineInstance stateMachineInstance,
Map<String, Object> contextVariables) {
if (StringUtils.hasText(stateMachineInstance.getBusinessKey()) && !contextVariables.containsKey(
DomainConstants.VAR_NAME_BUSINESSKEY)) {
Expand Down

0 comments on commit 4417cc8

Please sign in to comment.