Skip to content

Commit fc8785d

Browse files
dbmalkovskyfiliphr
andauthored
Update modules/flowable-engine/src/main/java/org/flowable/engine/impl/dynamic/BaseDynamicSubProcessInjectUtil.java
Co-authored-by: Filip Hrisafov <filip.hrisafov@gmail.com>
1 parent ab7bdec commit fc8785d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/flowable-engine/src/main/java/org/flowable/engine/impl/dynamic/BaseDynamicSubProcessInjectUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ protected static void processUserTask(FlowElement flowElement, ProcessDefinition
200200
protected static void processDecisionTask(FlowElement flowElement, ProcessDefinition originalProcessDefinitionEntity,
201201
DeploymentEntity newDeploymentEntity, CommandContext commandContext) {
202202

203-
if (flowElement instanceof ServiceTask serviceTask && ServiceTask.DMN_TASK.equals(((ServiceTask) flowElement).getType())) {
203+
if (flowElement instanceof ServiceTask serviceTask && ServiceTask.DMN_TASK.equals(serviceTask.getType())) {
204204

205205
DmnRepositoryService dmnRepositoryService = CommandContextUtil.getDmnRepositoryService();
206206
if (dmnRepositoryService != null) {

0 commit comments

Comments
 (0)