Skip to content

Commit

Permalink
Modify the comment to built-in
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangchong authored and wanghaibing committed May 22, 2023
1 parent 2964710 commit e364aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public String curingGlobalParams(Integer processInstanceId, Map<String, String>
}

/**
* the global parameters and local parameters used in the worker will be prepared here, and build-in parameters.
* the global parameters and local parameters used in the worker will be prepared here, and built-in parameters.
*
* @param taskInstance
* @param parameters
Expand Down Expand Up @@ -155,7 +155,7 @@ public Map<String, Property> paramParsingPreparation(@NonNull TaskInstance taskI
Map<String, String> cmdParam = JSONUtils.toMap(processInstance.getCommandParam());
String timeZone = cmdParam.get(Constants.SCHEDULE_TIMEZONE);

// build-in params
// built-in params
Map<String, String> params = setBuiltInParamsMap(taskInstance, timeZone);

if (MapUtils.isNotEmpty(params)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,5 +206,4 @@ public void testParamParsingPreparation() {
Assertions.assertEquals(propertyMap.get(TaskConstants.PARAMETER_PROJECT_NAME).getValue(),
processDefinition.getProjectName());
}

}

0 comments on commit e364aa5

Please sign in to comment.