diff --git a/drools-model/drools-model-codegen/src/main/java/org/drools/model/codegen/execmodel/generator/Consequence.java b/drools-model/drools-model-codegen/src/main/java/org/drools/model/codegen/execmodel/generator/Consequence.java index 6f2324ff58d..81df9025bdd 100644 --- a/drools-model/drools-model-codegen/src/main/java/org/drools/model/codegen/execmodel/generator/Consequence.java +++ b/drools-model/drools-model-codegen/src/main/java/org/drools/model/codegen/execmodel/generator/Consequence.java @@ -391,7 +391,7 @@ private void addUpdateBitMask(BlockStmt ruleBlock, List methodCa if (context.isPropertyReactive(updatedClass)) { if ( !initializedBitmaskFields.contains( updatedVar ) ) { - Set modifiedProps = findModifiedProperties(methodCallExprs, updateExpr, updatedVar, updatedClass ); + Set modifiedProps = findModifiedProperties(methodCallExprs, updatedVar, updatedClass ); modifiedProps.addAll(findModifiedPropertiesFromAssignment(assignExprs, updatedVar)); MethodCallExpr bitMaskCreation = createBitMaskInitialization( updatedClass, modifiedProps ); AssignExpr bitMaskAssign = createBitMaskField(updatedVar, bitMaskCreation); @@ -444,7 +444,7 @@ private AssignExpr createBitMaskField(String updatedVar, MethodCallExpr bitMaskC return new AssignExpr(bitMaskVar, bitMaskCreation, AssignExpr.Operator.ASSIGN); } - private Set findModifiedProperties( List methodCallExprs, MethodCallExpr updateExpr, String updatedVar, Class updatedClass ) { + private Set findModifiedProperties( List methodCallExprs, String updatedVar, Class updatedClass ) { Set modifiedProps = new HashSet<>(); for (MethodCallExpr methodCall : methodCallExprs) { if (!isDirectExpression(methodCall)) {