4717ced7b282d9ce67ca6a845f31d2766c1ba09a
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public toString() : String renamed to public getName() : String in class com.graphhopper.routing.util.TurnWeighting | From | To | |
| Rename Method public toString() : String renamed to public getName() : String in class com.graphhopper.routing.ch.PreparationWeighting | From | To | |
| Pull Up Method | 6 | ||
| Pull Up Method public toString() : String from class com.graphhopper.routing.util.ShortestWeighting to public toString() : String from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Pull Up Method public toString() : String from class com.graphhopper.routing.util.FastestWeighting to public toString() : String from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Pull Up Method public getFlagEncoder() : FlagEncoder from class com.graphhopper.routing.util.FastestWeighting to public getFlagEncoder() : FlagEncoder from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Pull Up Method public getFlagEncoder() : FlagEncoder from class com.graphhopper.routing.util.ShortestWeighting to public getFlagEncoder() : FlagEncoder from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Pull Up Method public equals(obj Object) : boolean from class com.graphhopper.routing.util.FastestWeighting to public equals(obj Object) : boolean from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Pull Up Method public hashCode() : int from class com.graphhopper.routing.util.FastestWeighting to public hashCode() : int from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Move And Inline Method | 2 | ||
| Move And Inline Method public toString() : String moved from class com.graphhopper.routing.util.CurvatureWeighting to class com.graphhopper.routing.util.TurnWeighting & inlined to public getName() : String | From | To | |
| Move And Inline Method public toString() : String moved from class com.graphhopper.routing.util.CurvatureWeighting to class com.graphhopper.routing.ch.PreparationWeighting & inlined to public getName() : String | From | To | |
| Move Method | 1 | ||
| Move Method public weightingToFileName(w Weighting) : String from class com.graphhopper.storage.CHGraphImpl to public weightingToFileName(w Weighting) : String from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Pull Up Attribute | 2 | ||
| Pull Up Attribute protected flagEncoder : FlagEncoder from class com.graphhopper.routing.util.FastestWeighting to protected flagEncoder : FlagEncoder from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Pull Up Attribute private flagEncoder : FlagEncoder from class com.graphhopper.routing.util.ShortestWeighting to protected flagEncoder : FlagEncoder from class com.graphhopper.routing.util.AbstractWeighting | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass com.graphhopper.routing.util.AbstractWeighting from classes [com.graphhopper.routing.util.FastestWeighting, com.graphhopper.routing.util.ShortestWeighting] | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute heading_penalty : double to headingPenalty : double in class com.graphhopper.routing.util.FastestWeighting | From | To | |
| Extract Variable | 1 | ||
| Extract Variable em : EncodingManager in method public testBaseGraph() : void from class com.graphhopper.routing.ch.DijkstraBidirectionCHTest | From | To |