8f384e45726bbc4cbf6a33d4326ae37d2696628c
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method protected evalTime(spt ShortestPathTree, sampleFactory SampleFactory) : Long renamed to protected eval(spt ShortestPathTree, sampleFactory SampleFactory) : OtpsEvaluatedIndividual in class org.opentripplanner.scripting.api.OtpsIndividual | From | To | |
Rename Method public createSyntheticRasterPopulation(top double, bottom double, left double, right double, rows int, cols int) : OtpsPopulation renamed to public createGridPopulation(top double, bottom double, left double, right double, rows int, cols int) : OtpsPopulation in class org.opentripplanner.scripting.api.OtpsEntryPoint | From | To | |
Rename Method public evalTime(population Iterable<OtpsIndividual>) : List<Long> renamed to public eval(population Iterable<OtpsIndividual>) : List<OtpsEvaluatedIndividual> in class org.opentripplanner.scripting.api.OtpsSPT | From | To | |
Rename Method public evalTime(individual OtpsIndividual) : Long renamed to public eval(individual OtpsIndividual) : OtpsEvaluatedIndividual in class org.opentripplanner.scripting.api.OtpsSPT | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public evalTime(lat double, lon double) : Long from class org.opentripplanner.scripting.api.OtpsSPT to public getTime() : Long from class org.opentripplanner.scripting.api.OtpsEvaluatedIndividual | From | To | |
Change Return Type | 5 | ||
Change Return Type Long to OtpsEvaluatedIndividual in method public eval(individual OtpsIndividual) : OtpsEvaluatedIndividual in class org.opentripplanner.scripting.api.OtpsSPT | From | To | |
Change Return Type void to Object in method public run() : Object in class org.opentripplanner.scripting.impl.OTPScript | From | To | |
Change Return Type Long to OtpsEvaluatedIndividual in method protected eval(spt ShortestPathTree, sampleFactory SampleFactory) : OtpsEvaluatedIndividual in class org.opentripplanner.scripting.api.OtpsIndividual | From | To | |
Change Return Type void to Object in method public run() : Object in class org.opentripplanner.scripting.impl.BSFOTPScript | From | To | |
Change Return Type List<Long> to List<OtpsEvaluatedIndividual> in method public eval(population Iterable<OtpsIndividual>) : List<OtpsEvaluatedIndividual> in class org.opentripplanner.scripting.api.OtpsSPT | From | To | |
Move Attribute | 1 | ||
Move Attribute private population : OtpsPopulation from class org.opentripplanner.scripting.api.OtpsResultSet to protected population : OtpsPopulation from class org.opentripplanner.scripting.api.OtpsIndividual | From | To | |
Merge Variable | 1 | ||
Merge Variable [index : int, label : String] to data : String[] in method public addIndividual(lat double, lon double, data String[]) : void in class org.opentripplanner.scripting.api.OtpsPopulation | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute lang : String to scriptLang : String in method public run() : Object in class org.opentripplanner.scripting.impl.BSFOTPScript | From | To | |
Rename Attribute | 1 | ||
Rename Attribute scriptFile : File to scriptPath : String in class org.opentripplanner.scripting.impl.BSFOTPScript | From | To | |
Change Variable Type | 1 | ||
Change Variable Type retval : List<Long> to retval : List<OtpsEvaluatedIndividual> in method public eval(population Iterable<OtpsIndividual>) : List<OtpsEvaluatedIndividual> in class org.opentripplanner.scripting.api.OtpsSPT | From | To | |
Extract Variable | 2 | ||
Extract Variable evaluated : OtpsEvaluatedIndividual in method public eval(population Iterable<OtpsIndividual>) : List<OtpsEvaluatedIndividual> from class org.opentripplanner.scripting.api.OtpsSPT | From | To | |
Extract Variable otpsEntryPoint : OtpsEntryPoint in method public run() : Object from class org.opentripplanner.scripting.impl.BSFOTPScript | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type scriptFile : File to scriptPath : String in class org.opentripplanner.scripting.impl.BSFOTPScript | From | To |