2ed16831bace97f41c30f8dfc395c1a9ef8f30e6
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type decisionRules : List<DecisionRule> to decisionRules : List<DTDecisionRule> in method public DTInvokerFunction(name String, inputs List<DTInputClause>, decisionRules List<DTDecisionRule>, hitPolicy HitPolicy) in class org.kie.dmn.feel.runtime.decisiontables.DTInvokerFunction | From | To | |
Change Parameter Type dt : ConcreteDTFunction to dt : DTInvokerFunction in method public DTExpressionEvaluator(dt DTInvokerFunction) in class org.kie.dmn.core.ast.DecisionNode.DTExpressionEvaluator | From | To | |
Change Parameter Type inputs : List<String> to inputs : List<DTInputClause> in method public DTInvokerFunction(name String, inputs List<DTInputClause>, decisionRules List<DTDecisionRule>, hitPolicy HitPolicy) in class org.kie.dmn.feel.runtime.decisiontables.DTInvokerFunction | From | To | |
Change Return Type | 1 | ||
Change Return Type DecisionRule to DTDecisionRule in method public toDecisionRule(rule List<?>, inputSize int) : DTDecisionRule in class org.kie.dmn.feel.runtime.functions.DecisionTableFunction | From | To | |
Rename Class | 2 | ||
Rename Class org.kie.dmn.feel.runtime.decisiontables.DecisionRule renamed to org.kie.dmn.feel.runtime.decisiontables.DTDecisionRule | From | To | |
Rename Class org.kie.dmn.feel.runtime.decisiontables.ConcreteDTFunction renamed to org.kie.dmn.feel.runtime.decisiontables.DTInvokerFunction | From | To | |
Change Variable Type | 7 | ||
Change Variable Type decisionRule : DecisionRule to decisionRule : DTDecisionRule in method public apply(ctx EvaluationContext, params Object[]) : Object in class org.kie.dmn.feel.runtime.decisiontables.DTInvokerFunction | From | To | |
Change Variable Type inputs : List<String> to inputs : List<DTInputClause> in method private compileDecision(decisionNode DecisionNode) : DecisionNode.DecisionEvaluator in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Variable Type ie : java.util.List<Object> to ie : List<Object> in method protected textToUnaryTestList(text String) : List<UnaryTest> in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Variable Type rule : DecisionRule to rule : DTDecisionRule in method private compileDecision(decisionNode DecisionNode) : DecisionNode.DecisionEvaluator in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Variable Type tests : java.util.List<UnaryTest> to tests : List<UnaryTest> in method protected textToUnaryTestList(text String) : List<UnaryTest> in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Variable Type dr : DecisionRule to dr : DTDecisionRule in method public toDecisionRule(rule List<?>, inputSize int) : DTDecisionRule in class org.kie.dmn.feel.runtime.functions.DecisionTableFunction | From | To | |
Change Variable Type allowedValues : java.util.List<?> to allowedValues : List<?> in method private buildTypeDef(itemDef ItemDefinition) : DMNType in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Extract Method | 3 | ||
Extract Method private toUnaryTest(o Object) : UnaryTest extracted from public toDecisionRule(rule List<?>, inputSize int) : DecisionRule in class org.kie.dmn.feel.runtime.functions.DecisionTableFunction | From | To | |
Extract Method protected textToUnaryTestList(text String) : List<UnaryTest> extracted from private compileDecision(decisionNode DecisionNode) : DecisionNode.DecisionEvaluator in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type inputs : List<String> to inputs : List<DTInputClause> in class org.kie.dmn.feel.runtime.decisiontables.DTInvokerFunction | From | To | |
Change Attribute Type decisionRules : List<DecisionRule> to decisionRules : List<DTDecisionRule> in class org.kie.dmn.feel.runtime.decisiontables.DTInvokerFunction | From | To | |
Change Attribute Type dt : ConcreteDTFunction to dt : DTInvokerFunction in class org.kie.dmn.core.ast.DecisionNode.DTExpressionEvaluator | From | To |