fbef9c88c75356303f2974f8f3e0e8db765c82b6
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 15
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private initCHAlgoFactories() : void renamed to private initCHAlgoFactoryDecorator() : void in class com.graphhopper.GraphHopper | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type weightingMap : WeightingMap to weightingMap : HintsMap in method public createWeighting(weightingMap HintsMap, encoder FlagEncoder) : Weighting in class com.graphhopper.GraphHopper | From | To | |
| Change Parameter Type weightingAsStr : String to weightingMap : HintsMap in method public matches(weightingMap HintsMap) : boolean in class com.graphhopper.routing.util.TurnWeighting | From | To | |
| Rename Variable | 3 | ||
| Rename Variable entry : Entry<Weighting,RoutingAlgorithmFactory> to prepare : PrepareContractionHierarchies in method protected prepare() : void in class com.graphhopper.GraphHopper | From | To | |
| Rename Variable arsp : PathWrapper to bestPath : PathWrapper in method private executeCHFootRoute() : void in class com.graphhopper.GraphHopperIT | From | To | |
| Rename Variable sTruck : TestEncoder to simpleTruck : TestEncoder in method public testGetWeightingForCH() : void in class com.graphhopper.GraphHopperTest | From | To | |
| Change Return Type | 3 | ||
| Change Return Type WeightingMap to HintsMap in method public setWeighting(w String) : HintsMap in class com.graphhopper.routing.util.HintsMap | From | To | |
| Change Return Type WeightingMap to HintsMap in method public put(key String, str Object) : HintsMap in class com.graphhopper.routing.util.HintsMap | From | To | |
| Change Return Type WeightingMap to HintsMap in method public getHints() : HintsMap in class com.graphhopper.GHRequest | From | To | |
| Rename Class | 1 | ||
| Rename Class com.graphhopper.routing.util.WeightingMap renamed to com.graphhopper.routing.util.HintsMap | From | To | |
| Extract Variable | 1 | ||
| Extract Variable map : HintsMap in method public MiniGraphUI(hopper GraphHopper, debug boolean) from class com.graphhopper.ui.MiniGraphUI | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type m : WeightingMap to m : HintsMap in method protected initHints(request GHRequest, parameterMap Map<String,String[]>) : void in class com.graphhopper.http.GraphHopperServlet | From | To | |
| Change Variable Type entry : Entry<Weighting,RoutingAlgorithmFactory> to prepare : PrepareContractionHierarchies in method protected prepare() : void in class com.graphhopper.GraphHopper | From | To | |
| Extract Method | 1 | ||
| Extract Method public setFlexibleModeAllowed(t boolean) : GraphHopper extracted from public init(args CmdArgs) : GraphHopper in class com.graphhopper.GraphHopper | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type hints : WeightingMap to hints : HintsMap in class com.graphhopper.GHRequest | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter weightingAsStr : String to weightingMap : HintsMap in method public matches(weightingMap HintsMap) : boolean in class com.graphhopper.routing.util.TurnWeighting | From | To |