78d19a80327b35f2f3fe419b4e4d0f4d2d94b9b6
Files Diff
- Added: 23
- Removed: 16
- Renamed: 0
- Modified: 31
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method public fillEdgeIDs(edgeIds GHIntHashSet, geometry Geometry, filter EdgeFilter) : void from class com.graphhopper.reader.overlaydata.FeedOverlayData to public fillEdgeIDs(edgeIds GHIntHashSet, geometry Geometry, filter EdgeFilter) : void from class com.graphhopper.storage.GraphEdgeIdFinder | From | To | |
Move Source Folder | 2 | ||
Move Source Folder reader-overlay-data to core | From | To | |
Move Source Folder reader-overlay-data to reader-json | From | To | |
Move Attribute | 1 | ||
Move Attribute private locationIndex : LocationIndex from class com.graphhopper.reader.overlaydata.FeedOverlayData to private locationIndex : LocationIndex from class com.graphhopper.storage.GraphEdgeIdFinder | From | To | |
Extract Class | 1 | ||
Extract Class com.graphhopper.storage.GraphEdgeIdFinder from class com.graphhopper.reader.overlaydata.FeedOverlayData | From | To | |
Rename Class | 4 | ||
Rename Class com.graphhopper.json.GHson renamed to com.graphhopper.json.GHJson | From | To | |
Rename Class com.graphhopper.json.GHsonBuilder renamed to com.graphhopper.json.GHJsonBuilder | From | To | |
Rename Class com.graphhopper.json.GHsonGson renamed to com.graphhopper.json.GHJsonGson | From | To | |
Rename Class com.graphhopper.storage.Lock renamed to com.graphhopper.storage.GHLock | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class com.graphhopper.reader.overlaydata.FeedOverlayData moved and renamed to com.graphhopper.storage.change.ChangeGraphHelper | From | To | |
Move And Rename Class com.graphhopper.reader.overlaydata.FeedOverlayDataTest moved and renamed to com.graphhopper.storage.change.ChangeGraphHelperTest | From | To | |
Move Class | 1 | ||
Move Class com.graphhopper.json.geo.FeatureJsonDeserializer moved to com.graphhopper.json.FeatureJsonDeserializer | From | To | |
Extract Variable | 1 | ||
Extract Variable cMap : ConfigMap in method public createWeighting(hintsMap HintsMap, encoder FlagEncoder, graph Graph) : Weighting from class com.graphhopper.GraphHopper | From | To | |
Change Variable Type | 8 | ||
Change Variable Type lock2 : Lock to lock2 : GHLock in method public testMultiReadObtain() : void in class com.graphhopper.storage.NativeFSLockFactoryTest | From | To | |
Change Variable Type writeLock1 : Lock to writeLock1 : GHLock in method public testMultiReadObtain() : void in class com.graphhopper.storage.NativeFSLockFactoryTest | From | To | |
Change Variable Type lock : Lock to lock : GHLock in method private process(graphHopperLocation String) : GraphHopper in class com.graphhopper.GraphHopper | From | To | |
Change Variable Type lock : Lock to lock : GHLock in method public testForceDelete() : void in class com.graphhopper.storage.AbstractLockFactoryTester | From | To | |
Change Variable Type writeLock4 : Lock to writeLock4 : GHLock in method public testMultiReadObtain() : void in class com.graphhopper.storage.NativeFSLockFactoryTest | From | To | |
Change Variable Type lock : Lock to lock : GHLock in method public testObtain() : void in class com.graphhopper.storage.AbstractLockFactoryTester | From | To | |
Change Variable Type lock2 : Lock to lock2 : GHLock in method public testObtain() : void in class com.graphhopper.storage.AbstractLockFactoryTester | From | To | |
Change Variable Type lock : Lock to lock : GHLock in method public load(graphHopperFolder String) : boolean in class com.graphhopper.GraphHopper | From | To | |
Extract Method | 3 | ||
Extract Method public findClosestEdge(edgeIds GHIntHashSet, lat double, lon double, filter EdgeFilter) : void extracted from public fillEdgeIDs(edgeIds GHIntHashSet, geometry Geometry, filter EdgeFilter) : void in class com.graphhopper.storage.GraphEdgeIdFinder | From | To | |
Extract Method protected getTestAPIUrl(path String) : String extracted from protected getTestRouteAPIUrl() : String in class com.graphhopper.http.BaseServletTester | From | To | |
Extract Method protected getTestAPIUrl(path String) : String extracted from protected getTestNearestAPIUrl() : String in class com.graphhopper.http.BaseServletTester | From | To | |
Inline Variable | 2 | ||
Inline Variable routingGraph : Graph in method public calcPaths(request GHRequest, ghRsp GHResponse) : List<Path> from class com.graphhopper.GraphHopper | From | To | |
Inline Variable map : Map<String,Object> in method public deserialize(json JsonElement, type Type, context JsonDeserializationContext) : JsonFeature from class com.graphhopper.json.geo.FeatureJsonDeserializer | From | To | |
Rename Method | 1 | ||
Rename Method public testFaundauDestination() : void renamed to public testNorthBayreuthDestination() : void in class com.graphhopper.GraphHopperIT | From | To | |
Rename Variable | 1 | ||
Rename Variable geometry : JsonObject to geometryJson : JsonObject in method public deserialize(json JsonElement, type Type, context JsonDeserializationContext) : JsonFeature in class com.graphhopper.json.FeatureJsonDeserializer | From | To | |
Change Return Type | 4 | ||
Change Return Type Lock to GHLock in method public create(fileName String, writeAccess boolean) : GHLock in class com.graphhopper.storage.SimpleFSLockFactory | From | To | |
Change Return Type Lock to GHLock in method public create(fileName String, writeAccess boolean) : GHLock in class com.graphhopper.storage.LockFactory | From | To | |
Change Return Type Lock to GHLock in method public create(fileName String, writeAccess boolean) : GHLock in class com.graphhopper.storage.NativeFSLockFactory | From | To | |
Change Return Type GHson to GHJson in method public create() : GHJson in class com.graphhopper.json.GHJsonBuilder | From | To | |
Rename Attribute | 1 | ||
Rename Attribute radiusInKm : double to radiusInMeter : double in class com.graphhopper.util.shapes.Circle | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type ghson : GHson to ghson : GHJson in class com.graphhopper.json.geo.JsonFeatureCollectionTest | From | To | |
Change Attribute Type ghson : GHson to ghson : GHJson in class com.graphhopper.storage.change.ChangeGraphHelperTest | From | To |