698efe21d70ee91734653244396d78ea33e7f290
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 6 | ||
Change Parameter Type value : Object to value : String in method public TestGenStringValueProvider(value String) in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenStringValueProvider | From | To | |
Change Parameter Type value : Object to value : Enum<?> in method public TestGenEnumValueProvider(value Enum<?>) in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenEnumValueProvider | From | To | |
Change Parameter Type value : Object to value : Map<?,?> in method public TestGenMapValueProvider(value Map<?,?>, identifier String, typeArguments Type[], existingInstances Map<Object,TestGenFact>) in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenMapValueProvider | From | To | |
Change Parameter Type value : Object to value : T in method public TestGenAbstractValueProvider(value T) in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenAbstractValueProvider | From | To | |
Change Parameter Type originalKieSession : KieSession to scoreDirector : TestGenDroolsScoreDirector<?> in method public TestGenDroolsExceptionReproducer(originalException RuntimeException, scoreDirector TestGenDroolsScoreDirector<?>) in class org.optaplanner.core.impl.score.director.drools.testgen.reproducer.TestGenDroolsExceptionReproducer | From | To | |
Change Parameter Type value : Object to value : List<?> in method public TestGenListValueProvider(value List<?>, identifier String, genericType Type, existingInstances Map<Object,TestGenFact>) in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenListValueProvider | From | To | |
Move Method | 1 | ||
Move Method private createKieSession() : KieSession from class org.optaplanner.core.impl.score.director.drools.testgen.reproducer.TestGenCorruptedScoreReproducer to public createKieSession() : KieSession from class org.optaplanner.core.impl.score.director.drools.testgen.TestGenDroolsScoreDirector | From | To | |
Change Return Type | 2 | ||
Change Return Type Object to T in method public get() : T in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueProvider | From | To | |
Change Return Type Object to T in method public get() : T in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenAbstractValueProvider | From | To | |
Rename Attribute | 4 | ||
Rename Attribute log : Logger to logger : Logger in class org.optaplanner.core.impl.score.director.drools.testgen.TestGenTestWriter | From | To | |
Rename Attribute log : Logger to logger : Logger in class org.optaplanner.core.impl.score.director.drools.testgen.reproducer.TestGenCorruptedScoreReproducer | From | To | |
Rename Attribute log : Logger to logger : Logger in class org.optaplanner.core.impl.score.director.drools.testgen.TestGenerator | From | To | |
Rename Attribute log : Logger to logger : Logger in class org.optaplanner.core.impl.score.director.drools.testgen.reproducer.TestGenDroolsExceptionReproducer | From | To | |
Change Variable Type | 4 | ||
Change Variable Type value : TestGenValueProvider to value : TestGenValueProvider<?> in method public reset() : void in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Change Variable Type value : TestGenValueProvider to value : TestGenValueProvider<?> in method public printSetup(sb StringBuilder) : void in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Change Variable Type entry : Map.Entry<BeanPropertyMemberAccessor,TestGenValueProvider> to entry : Map.Entry<BeanPropertyMemberAccessor,TestGenValueProvider<?>> in method public reset() : void in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Change Variable Type entry : Map.Entry<BeanPropertyMemberAccessor,TestGenValueProvider> to entry : Map.Entry<BeanPropertyMemberAccessor,TestGenValueProvider<?>> in method public printSetup(sb StringBuilder) : void in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Extract Variable | 4 | ||
Extract Variable id : String in method private setUpField(field Field, existingInstances Map<Object,TestGenFact>) : void from class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Extract Variable pkgName : String in method private printInit() : void from class org.optaplanner.core.impl.score.director.drools.testgen.TestGenTestWriter | From | To | |
Extract Variable reproducer : TestGenDroolsExceptionReproducer in method public calculateScore() : Score from class org.optaplanner.core.impl.score.director.drools.testgen.TestGenDroolsScoreDirector | From | To | |
Extract Variable clazz : Class<?> in method public setUp(existingInstances Map<Object,TestGenFact>) : void from class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Extract Method | 1 | ||
Extract Method private setUpField(field Field, existingInstances Map<Object,TestGenFact>) : void extracted from public setUp(existingInstances Map<Object,TestGenFact>) : void in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type value : Object to value : T in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenAbstractValueProvider | From | To | |
Change Attribute Type attributes : HashMap<BeanPropertyMemberAccessor,TestGenValueProvider> to attributes : HashMap<BeanPropertyMemberAccessor,TestGenValueProvider<?>> in class org.optaplanner.core.impl.score.director.drools.testgen.fact.TestGenValueFact | From | To | |
Rename Parameter | 1 | ||
Rename Parameter originalKieSession : KieSession to scoreDirector : TestGenDroolsScoreDirector<?> in method public TestGenDroolsExceptionReproducer(originalException RuntimeException, scoreDirector TestGenDroolsScoreDirector<?>) in class org.optaplanner.core.impl.score.director.drools.testgen.reproducer.TestGenDroolsExceptionReproducer | From | To |