0bf6b14b2982638db5e7002a797f4d1c657e32a4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type encoder : FlagEncoder to weighting : Weighting in method public Path(graph Graph, weighting Weighting) in class com.graphhopper.routing.Path | From | To | |
Rename Variable | 1 | ||
Rename Variable time : double to timeInMillis : long in method public calcMillis(edgeState EdgeIteratorState, reverse boolean, prevOrNextEdgeId int) : long in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Change Variable Type | 1 | ||
Change Variable Type time : double to timeInMillis : long in method public calcMillis(edgeState EdgeIteratorState, reverse boolean, prevOrNextEdgeId int) : long in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Extract Method | 1 | ||
Extract Method public calcMillis(edgeState EdgeIteratorState, reverse boolean, prevOrNextEdgeId int) : long extracted from public calcWeight(edge EdgeIteratorState, reverse boolean, prevOrNextEdgeId int) : double in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Inline Variable | 2 | ||
Inline Variable dist : double in method protected processEdge(edgeId int, adjNode int) : void from class com.graphhopper.routing.Path | From | To | |
Inline Variable dist : double in method private expandEdge(mainEdgeState CHEdgeIteratorState, reverse boolean) : void from class com.graphhopper.routing.ch.Path4CH | From | To | |
Rename Parameter | 4 | ||
Rename Parameter edge : EdgeIteratorState to edgeState : EdgeIteratorState in method public calcMillis(edgeState EdgeIteratorState, reverse boolean, prevOrNextEdgeId int) : long in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Rename Parameter encoder : FlagEncoder to weighting : Weighting in method public Path(graph Graph, weighting Weighting) in class com.graphhopper.routing.Path | From | To | |
Rename Parameter edge : EdgeIteratorState to edgeState : EdgeIteratorState in method public calcWeight(edgeState EdgeIteratorState, reverse boolean, prevOrNextEdgeId int) : double in class com.graphhopper.routing.weighting.GenericWeighting | From | To | |
Rename Parameter revert : boolean to reverse : boolean in method protected calcMillis(edge EdgeIteratorState, reverse boolean) : long in class com.graphhopper.routing.Path | From | To |