mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
⚡ 优化, map init size 4
This commit is contained in:
1 parent
778aa9431f
commit
d06618ae36
1 file changed
+1
-1
+1
-1
@@ -149,7 +149,7 @@ public class ActTaskServiceImpl implements ActTaskService {
|
||||
Authentication.setAuthenticatedUserId(SecurityUtils.getUser().getUsername());
|
||||
taskService.addComment(taskId, processInstanceId, message);
|
||||
|
||||
Map<String, Object> variables = new HashMap<>(1);
|
||||
Map<String, Object> variables = new HashMap<>(4);
|
||||
variables.put("flag", leaveBillDto.getTaskFlag());
|
||||
variables.put("days", leaveBillDto.getDays());
|
||||
|
||||
|
||||
Reference in new issue
Block a user