79ce01d046a354cbdf988d62c83a80b9d057996d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private alternativeWitnessExists(outgoingEdge EdgeIteratorState, toNode int, witnessPathFinder WitnessPathFinder, chEntry CHEntry) : boolean renamed to private alternativeWitnessExistsOrNotNeeded(outgoingEdge EdgeIteratorState, toNode int, witnessPathFinder WitnessPathFinder, chEntry CHEntry) : boolean in class com.graphhopper.routing.ch.EdgeBasedNodeContractor.TurnReplacementSearch | From | To | |
Change Variable Type | 1 | ||
Change Variable Type inIter : CHEdgeIterator to inIter : EdgeIterator in method private alternativeWitnessExistsOrNotNeeded(outgoingEdge EdgeIteratorState, toNode int, witnessPathFinder WitnessPathFinder, chEntry CHEntry) : boolean in class com.graphhopper.routing.ch.EdgeBasedNodeContractor.TurnReplacementSearch | From | To | |
Inline Variable | 2 | ||
Inline Variable outgoingEdgeLast : int in method private alternativeWitnessExists(outgoingEdge EdgeIteratorState, toNode int, witnessPathFinder WitnessPathFinder, chEntry CHEntry) : boolean from class com.graphhopper.routing.ch.EdgeBasedNodeContractor.TurnReplacementSearch | From | To | |
Inline Variable inIterLast : int in method private alternativeWitnessExists(outgoingEdge EdgeIteratorState, toNode int, witnessPathFinder WitnessPathFinder, chEntry CHEntry) : boolean from class com.graphhopper.routing.ch.EdgeBasedNodeContractor.TurnReplacementSearch | From | To | |
Extract Method | 1 | ||
Extract Method package calcInTurnReplacementDifference(w int, baseInEdge int, altInEdge int) : double extracted from private alternativeWitnessExists(outgoingEdge EdgeIteratorState, toNode int, witnessPathFinder WitnessPathFinder, chEntry CHEntry) : boolean in class com.graphhopper.routing.ch.EdgeBasedNodeContractor.TurnReplacementSearch | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method private witnessNeeded(outgoingEdge EdgeIteratorState, toNode int) : boolean extracted from private alternativeWitnessExists(outgoingEdge EdgeIteratorState, toNode int, witnessPathFinder WitnessPathFinder, chEntry CHEntry) : boolean in class com.graphhopper.routing.ch.EdgeBasedNodeContractor.TurnReplacementSearch & moved to class com.graphhopper.routing.ch.EdgeBasedNodeContractor | From | To | |
Rename Parameter | 1 | ||
Rename Parameter toNode : int to w : int in method package calcInTurnReplacementDifference(w int, baseInEdge int, altInEdge int) : double in class com.graphhopper.routing.ch.EdgeBasedNodeContractor.TurnReplacementSearch | From | To |