Skip to content

Commit

Permalink
optimize: expand english abbreviations to full words (#7088)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaoMaoandSnail authored Jan 3, 2025
1 parent b0aec94 commit 61f420b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected StateMachineInstance forwardInternal(String stateMachineInstId, Map<St
List<StateInstance> actList = stateMachineInstance.getStateList();
if (CollectionUtils.isEmpty(actList)) {
throw new ForwardInvalidException("StateMachineInstance[id:" + stateMachineInstId
+ "] has no stateInstance, pls start a new StateMachine execution instead",
+ "] has no stateInstance, please start a new StateMachine execution instead",
FrameworkErrorCode.OperationDenied);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private void decideExecutionStatus(ProcessContext context, StateInstance stateIn
}

EngineExecutionException exception = new EngineExecutionException("State [" + state.getName()
+ "] execute finished, but cannot matching status, pls check its status manually",
+ "] execute finished, but cannot matching status, please check its status manually",
FrameworkErrorCode.NoMatchedStatus);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("State[{}] execute finish with status[{}]", state.getName(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private static void transformNode(Map<String, Object> machineJsonObject, Map<Str
String stateId = (String) nodeObj.get("stateId");
if (states.containsKey(stateId)) {
throw new RuntimeException(
"Transform designer json to standard json failed, stateId[" + stateId + "] already exists, pls rename it.");
"Transform designer json to standard json failed, stateId[" + stateId + "] already exists, please rename it.");
}

String comment = (String) nodeObj.get("label");
Expand Down

0 comments on commit 61f420b

Please sign in to comment.