e085c0b3f3b1e8a3b5942d0938218bec40a357f3
Files Diff
- Added: 12
- Removed: 0
- Renamed: 0
- Modified: 120
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method protected prepare() : void renamed to protected prepareCH() : void in class com.graphhopper.GraphHopper | From | To | |
Rename Method public duplicate() : WeightApproximator renamed to public reverse() : WeightApproximator in class com.graphhopper.routing.weighting.BeelineWeightApproximator | From | To | |
Rename Method public duplicate() : WeightApproximator renamed to public reverse() : WeightApproximator in class com.graphhopper.routing.weighting.WeightApproximator | From | To | |
Rename Method public setGoalNode(toNode int) : void renamed to public setTo(toNode int) : void in class com.graphhopper.routing.weighting.BeelineWeightApproximator | From | To | |
Rename Method public setGoalNode(to int) : void renamed to public setTo(to int) : void in class com.graphhopper.routing.weighting.WeightApproximator | From | To | |
Inline Method | 1 | ||
Inline Method protected createCHPreparations() : void inlined to public postProcessing() : void in class com.graphhopper.GraphHopper | From | To | |
Change Return Type | 1 | ||
Change Return Type void to CHAlgoFactoryDecorator in method public setEnabled(enabled boolean) : CHAlgoFactoryDecorator in class com.graphhopper.routing.ch.CHAlgoFactoryDecorator | From | To | |
Extract Variable | 1 | ||
Extract Variable algo : String in method public toString() : String from class com.graphhopper.routing.util.TestAlgoCollector.AlgoHelperEntry | From | To | |
Extract Method | 1 | ||
Extract Method private parse(str String, lonLatOrder boolean) : GHPoint extracted from public parse(str String) : GHPoint in class com.graphhopper.util.shapes.GHPoint | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type fromMap : IntObjectMap<AStarEntry> to fromMap : GHIntObjectHashMap<AStarEntry> in class com.graphhopper.routing.AStar | From | To | |
Rename Parameter | 4 | ||
Rename Parameter withPreparedAlgos : boolean to withCH : boolean in method package runAlgo(testCollector TestAlgoCollector, osmFile String, graphFile String, forEveryAlgo List<OneRun>, importVehicles String, withCH boolean, vehicle String, weightStr String, is3D boolean) : Graph in class com.graphhopper.routing.RoutingAlgorithmWithOSMIT | From | To | |
Rename Parameter shortestWeightMap : IntObjectMap<SPTEntry> to bestWeightMap : IntObjectMap<SPTEntry> in method package fillEdges(currEdge SPTEntry, prioQueue PriorityQueue<SPTEntry>, bestWeightMap IntObjectMap<SPTEntry>, explorer EdgeExplorer, reverse boolean) : void in class com.graphhopper.routing.DijkstraBidirectionRef | From | To | |
Rename Parameter fromNode : int to node : int in method public approximate(node int, reverse boolean) : double in class com.graphhopper.routing.weighting.ConsistentWeightApproximator | From | To | |
Rename Parameter fromNode : int to currentNode : int in method public approximate(currentNode int) : double in class com.graphhopper.routing.weighting.WeightApproximator | From | To |