d225778d6833598b0334b3526b3787d40faab4c4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getMatrixAlikeGraph() : GraphHopperStorage renamed to protected createMatrixAlikeGraph(tmpGraph GraphHopperStorage) : GraphHopperStorage in class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type weighting : String to weighting : Weighting in method package calcPathViaQuery(weighting Weighting, ghStorage GraphHopperStorage, fromLat double, fromLon double, toLat double, toLon double) : Path in class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Change Parameter Type chWeightings : Collection<Weighting> to chWeightings : Collection<? extends Weighting> in method public GraphHopperStorage(chWeightings Collection<? extends Weighting>, dir Directory, encodingManager EncodingManager, withElevation boolean, extendedStorage GraphExtension) in class com.graphhopper.storage.GraphHopperStorage | From | To | |
Change Parameter Type isCHGraph : boolean to singleCHWeighting : Weighting in method public setCHGraph(singleCHWeighting Weighting) : GraphBuilder in class com.graphhopper.storage.GraphBuilder | From | To | |
Inline Method | 1 | ||
Inline Method private createMatrixAlikeGraph() : GraphHopperStorage inlined to protected createMatrixAlikeGraph(tmpGraph GraphHopperStorage) : GraphHopperStorage in class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Rename Variable | 5 | ||
Rename Variable opts : AlgorithmOptions to fakeOpts : AlgorithmOptions in method public testTwoWeightsPerEdge2() : void in class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Rename Variable carFlagsEncoder : CarFlagEncoder to carFlagEncoder : CarFlagEncoder in method public testUpdateFlags() : void in class com.graphhopper.util.CHEdgeIteratorTest | From | To | |
Rename Variable todoBytes : long to newBytes : long in method public ensureCapacity(bytes long) : boolean in class com.graphhopper.storage.RAMDataAccess | From | To | |
Rename Variable todoBytes : long to newBytes : long in method public ensureCapacity(bytes long) : boolean in class com.graphhopper.storage.RAMIntDataAccess | From | To | |
Rename Variable todoBytes : long to newBytes : long in method package ensureCapacity(bytes long, clearNewMem boolean) : boolean in class com.graphhopper.storage.UnsafeDataAccess | From | To | |
Change Return Type | 1 | ||
Change Return Type void to GraphHopper in method public putAlgorithmFactory(weighting Weighting, algoFactory RoutingAlgorithmFactory) : GraphHopper in class com.graphhopper.GraphHopper | From | To | |
Rename Attribute | 1 | ||
Rename Attribute chGraph : boolean to singleCHWeighting : Weighting in class com.graphhopper.storage.GraphBuilder | From | To | |
Extract Variable | 5 | ||
Extract Variable weighting : Weighting in method public testWithCoordinates() : void from class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Extract Variable opts : AlgorithmOptions in method public testCalcFootPath() : void from class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Extract Variable opts : AlgorithmOptions in method public testTwoWeightsPerEdge() : void from class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Extract Variable opts : AlgorithmOptions in method public testCalcFastestPath() : void from class com.graphhopper.routing.AbstractRoutingAlgorithmTester | From | To | |
Extract Variable em : EncodingManager in method public testGetWeightIfAdvancedEncoder() : void from class com.graphhopper.storage.GraphHopperStorageCHTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type cg : CHGraphImpl to cg : CHGraph in method public getGraph(clazz Class<T>) : T in class com.graphhopper.storage.GraphHopperStorage | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type chGraph : boolean to singleCHWeighting : Weighting in class com.graphhopper.storage.GraphBuilder | From | To | |
Rename Parameter | 2 | ||
Rename Parameter isCHGraph : boolean to singleCHWeighting : Weighting in method public setCHGraph(singleCHWeighting Weighting) : GraphBuilder in class com.graphhopper.storage.GraphBuilder | From | To | |
Rename Parameter w : Weighting to weighting : Weighting in method public getGraph(clazz Class<T>, weighting Weighting) : T in class com.graphhopper.storage.GraphHopperStorage | From | To |