bbd62fded97be060fc09177f9fae794cea284554
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public readStringMap(weightingMap PMap) : ConfigMap renamed to public createWeightingConfig(pMap PMap) : WeightingConfig in class com.graphhopper.routing.util.DataFlagEncoder | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type cMap : ConfigMap to hintsMap : PMap in method public GenericWeighting(encoder DataFlagEncoder, hintsMap PMap) in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Move Method | 3 | ||
Move Method public testBlockedById() : void from class com.graphhopper.routing.weighting.GenericWeightingTest to public testBlockedById() : void from class com.graphhopper.routing.weighting.BlockAreaWeightingTest | From | To | |
Move Method public testBlockedByShape() : void from class com.graphhopper.routing.weighting.GenericWeightingTest to public testBlockedByShape() : void from class com.graphhopper.routing.weighting.BlockAreaWeightingTest | From | To | |
Move Method public testNullGraph() : void from class com.graphhopper.routing.weighting.GenericWeightingTest to public testNullGraph() : void from class com.graphhopper.routing.weighting.BlockAreaWeightingTest | From | To | |
Rename Variable | 3 | ||
Rename Variable result : ConfigMap to blockArea : GraphEdgeIdFinder.BlockArea in method public testParseStringHints() : void in class com.graphhopper.storage.GraphEdgeIdFinderTest | From | To | |
Rename Variable tmpSpeed : double to maxSpecifiedSpeed : double in method public GenericWeighting(encoder DataFlagEncoder, hintsMap PMap) in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Rename Variable blockedAreasFromRequest : String to blockAreaStr : String in method public createWeighting(hintsMap HintsMap, encoder FlagEncoder, graph Graph) : Weighting in class com.graphhopper.GraphHopper | From | To | |
Change Return Type | 1 | ||
Change Return Type ConfigMap to WeightingConfig in method public createWeightingConfig(pMap PMap) : WeightingConfig in class com.graphhopper.routing.util.DataFlagEncoder | From | To | |
Move Attribute | 4 | ||
Move Attribute private na : NodeAccess from class com.graphhopper.routing.weighting.GenericWeighting to private na : NodeAccess from class com.graphhopper.storage.GraphEdgeIdFinder.BlockArea | From | To | |
Move Attribute private blockedShapes : List<Shape> from class com.graphhopper.routing.weighting.GenericWeighting to package blockedShapes : List<Shape> from class com.graphhopper.storage.GraphEdgeIdFinder.BlockArea | From | To | |
Move Attribute protected speedArray : double[] from class com.graphhopper.routing.weighting.GenericWeighting to private speedArray : double[] from class com.graphhopper.routing.util.DataFlagEncoder.WeightingConfig | From | To | |
Move Attribute private blockedEdges : GHIntHashSet from class com.graphhopper.routing.weighting.GenericWeighting to package blockedEdges : GHIntHashSet from class com.graphhopper.storage.GraphEdgeIdFinder.BlockArea | From | To | |
Extract Class | 3 | ||
Extract Class com.graphhopper.routing.weighting.BlockAreaWeightingTest from class com.graphhopper.routing.weighting.GenericWeightingTest | From | To | |
Extract Class com.graphhopper.storage.GraphEdgeIdFinder.BlockArea from class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Extract Class com.graphhopper.routing.util.DataFlagEncoder.WeightingConfig from class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Rename Attribute | 1 | ||
Rename Attribute eventuallAccessiblePenalty : int to uncertainAccessiblePenalty : int in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Change Variable Type | 2 | ||
Change Variable Type map : Map<String,Double> to map : HashMap<String,Double> in method public createWeightingConfig(pMap PMap) : WeightingConfig in class com.graphhopper.routing.util.DataFlagEncoder | From | To | |
Change Variable Type result : ConfigMap to blockArea : GraphEdgeIdFinder.BlockArea in method public testParseStringHints() : void in class com.graphhopper.storage.GraphEdgeIdFinderTest | From | To | |
Inline Variable | 1 | ||
Inline Variable dataEncoder : DataFlagEncoder in method public createWeighting(hintsMap HintsMap, encoder FlagEncoder, graph Graph) : Weighting from class com.graphhopper.GraphHopper | From | To | |
Rename Parameter | 6 | ||
Rename Parameter pMap : PMap to map : PMap in method public ShortFastestWeighting(encoder FlagEncoder, map PMap) in class com.graphhopper.routing.weighting.ShortFastestWeighting | From | To | |
Rename Parameter height : double to value : double in method private overLimit(value double, valueMax double) : boolean in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Rename Parameter weightingMap : PMap to pMap : PMap in method public createWeightingConfig(pMap PMap) : WeightingConfig in class com.graphhopper.routing.util.DataFlagEncoder | From | To | |
Rename Parameter cMap : ConfigMap to hintsMap : PMap in method public GenericWeighting(encoder DataFlagEncoder, hintsMap PMap) in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Rename Parameter heightLimit : double to valueMax : double in method private overLimit(value double, valueMax double) : boolean in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Rename Parameter pMap : PMap to map : PMap in method public FastestWeighting(encoder FlagEncoder, map PMap) in class com.graphhopper.routing.weighting.FastestWeighting | From | To |