60b4da93e1b7f6cdbfa5e0cf6b42c8f834db7ced
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 25
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public addWeighting(weighting Weighting) : CHAlgoFactoryDecorator renamed to public addNodeBasedWeighting(weighting Weighting) : CHAlgoFactoryDecorator in class com.graphhopper.routing.ch.CHAlgoFactoryDecorator | From | To | |
| Rename Method public getWeightings() : List<Weighting> renamed to public getNodeBasedWeightings() : List<Weighting> in class com.graphhopper.routing.ch.CHAlgoFactoryDecorator | From | To | |
| Rename Method public getCHWeightings() : List<Weighting> renamed to private getWeightingsFromGraphs(graphs Collection<CHGraphImpl>) : List<Weighting> in class com.graphhopper.storage.GraphHopperStorage | From | To | |
| Inline Method | 2 | ||
| Inline Method private createPrepareContractionHierarchies(ramDir RAMDirectory, storage GraphHopperStorage, weighting Weighting) : PrepareContractionHierarchies inlined to public testGetWeightingForCH() : void in class com.graphhopper.reader.osm.GraphHopperOSMTest | From | To | |
| Rename Variable | 3 | ||
| Rename Variable loadedCHWeightings : String to loadedNodeCHWeightings : String in method public loadExisting() : boolean in class com.graphhopper.storage.GraphHopperStorage | From | To | |
| Rename Variable lastIndex : int to index : int in method public addPreparation(pch PrepareContractionHierarchies) : CHAlgoFactoryDecorator in class com.graphhopper.routing.ch.CHAlgoFactoryDecorator | From | To | |
| Rename Variable configuredCHWeightings : String to configuredNodeCHWeightings : String in method public loadExisting() : boolean in class com.graphhopper.storage.GraphHopperStorage | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute forEdgeBasedTraversal : boolean to edgeBased : boolean in class com.graphhopper.storage.CHGraphImpl | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type addedShortcutsCount : long to addedShortcutsCount : int in class com.graphhopper.routing.ch.NodeBasedNodeContractor | From | To | |
| Change Attribute Type addedShortcutsCount : long to addedShortcutsCount : int in class com.graphhopper.routing.ch.EdgeBasedNodeContractor | From | To | |
| Extract Method | 1 | ||
| Extract Method private createCHPreparation(ghStorage GraphHopperStorage, weighting Weighting, traversalMode TraversalMode) : PrepareContractionHierarchies extracted from public createPreparations(ghStorage GraphHopperStorage, traversalMode TraversalMode) : void in class com.graphhopper.routing.ch.CHAlgoFactoryDecorator | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter chWeightings : List<? extends Weighting> to nodeBasedCHWeightings : List<? extends Weighting> in method public GraphHopperStorage(nodeBasedCHWeightings List<? extends Weighting>, edgeBasedCHWeightings List<? extends Weighting>, dir Directory, encodingManager EncodingManager, withElevation boolean, extendedStorage GraphExtension) in class com.graphhopper.storage.GraphHopperStorage | From | To | |
| Rename Parameter chWeightings : List<? extends Weighting> to nodeBasedCHWeightings : List<? extends Weighting> in method public GraphHopperStorage(nodeBasedCHWeightings List<? extends Weighting>, dir Directory, encodingManager EncodingManager, withElevation boolean, extendedStorage GraphExtension) in class com.graphhopper.storage.GraphHopperStorage | From | To | |
| Rename Parameter forEdgeBasedTraversal : boolean to edgeBased : boolean in method package CHGraphImpl(w Weighting, dir Directory, baseGraph BaseGraph, edgeBased boolean) in class com.graphhopper.storage.CHGraphImpl | From | To |