10fd20ce63b1c6c4712f51ca9343783186a96707
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type firstPtDepartureTime : long to departureTime : Long in method package Label(currentTime long, edgeId int, adjNode int, nTransfers int, nWalkDistanceConstraintViolations int, walkDistance double, departureTime Long, walkTime long, parent Label) in class com.graphhopper.reader.gtfs.Label | From | To | |
Change Parameter Type solutions : Set<Label> to solutions : List<Label> in method private parseSolutionsAndAddToResponse(solutions List<Label>, waypoints PointList) : void in class com.graphhopper.reader.gtfs.GraphHopperGtfs.RequestHandler | From | To | |
Inline Method | 2 | ||
Inline Method private assertTravelTimeIs(graphHopper GraphHopperGtfs, from_lat double, from_lon double, earliestDepartureTime Instant, to_lat double, to_lon double, expectedTravelTime int) : void inlined to private assertTravelTimeIs(graphHopper GraphHopperGtfs, FROM_LAT double, FROM_LON double, TO_LAT double, TO_LON double, expectedWeight int) : void in class com.graphhopper.GraphHopperGtfsIT | From | To | |
Inline Method private assertTravelTimeIs(graphHopper GraphHopperGtfs, from_lat double, from_lon double, earliestDepartureTime Instant, to_lat double, to_lon double, expectedTravelTime int) : void inlined to public testRouteWithLaterDepartureTime() : void in class com.graphhopper.GraphHopperGtfsIT | From | To | |
Change Return Type | 1 | ||
Change Return Type Set<Label> to List<Label> in method private findPaths(startNode int, destNode int) : List<Label> in class com.graphhopper.reader.gtfs.GraphHopperGtfs.RequestHandler | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute firstPtDepartureTime : LocalDateTime to departureTime : Long in method private parseSolutionIntoPath(initialTime Instant, arriveBy boolean, encoder PtFlagEncoder, tr Translation, queryGraph QueryGraph, weighting PtTravelTimeWeighting, solution Label, waypoints PointList) : PathWrapper in class com.graphhopper.reader.gtfs.GraphHopperGtfs | From | To | |
Rename Attribute | 1 | ||
Rename Attribute firstPtDepartureTime : long to departureTime : Long in class com.graphhopper.reader.gtfs.Label | From | To | |
Extract Variable | 1 | ||
Extract Variable streetNode : int in method public readGraph() : void from class com.graphhopper.reader.gtfs.GtfsReader | From | To | |
Change Variable Type | 1 | ||
Change Variable Type solutions : Set<Label> to solutions : List<Label> in method package route() : GHResponse in class com.graphhopper.reader.gtfs.GraphHopperGtfs.RequestHandler | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type firstPtDepartureTime : long to departureTime : Long in class com.graphhopper.reader.gtfs.Label | From | To | |
Rename Parameter | 3 | ||
Rename Parameter stop : Stop to toStop : Stop in method private wireUpAndAndConnectArrivalTimeline(toStop Stop, routeId String, stopExitNode int, timeNodes NavigableSet<Fun.Tuple2<Integer,Integer>>) : void in class com.graphhopper.reader.gtfs.GtfsReader | From | To | |
Rename Parameter firstPtDepartureTime : long to walkTime : long in method package Label(currentTime long, edgeId int, adjNode int, nTransfers int, nWalkDistanceConstraintViolations int, walkDistance double, departureTime Long, walkTime long, parent Label) in class com.graphhopper.reader.gtfs.Label | From | To | |
Rename Parameter firstPtDepartureTime : long to departureTime : Long in method package Label(currentTime long, edgeId int, adjNode int, nTransfers int, nWalkDistanceConstraintViolations int, walkDistance double, departureTime Long, walkTime long, parent Label) in class com.graphhopper.reader.gtfs.Label | From | To |