654433fabc71c1dfeabf5673908fe320acee3c96
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method package getExtraStrings() : Map<Integer,String> renamed to package getTripDescriptors() : Map<Integer,byte[]> in class com.graphhopper.reader.gtfs.GtfsStorage | From | To | |
| Change Parameter Type | 3 | ||
| Change Parameter Type tripId : String to tripDescriptor : GtfsRealtime.TripDescriptor in method package StopsFromBoardHopDwellEdges(feedId String, tripDescriptor GtfsRealtime.TripDescriptor) in class com.graphhopper.reader.gtfs.TripFromLabel.StopsFromBoardHopDwellEdges | From | To | |
| Change Parameter Type stopTimes : Iterable<StopTime> to stopTimes : List<StopTime> in method public TripWithStopTimes(trip Trip, stopTimes List<StopTime>, validOnDay BitSet) in class com.graphhopper.reader.gtfs.GtfsReader.TripWithStopTimes | From | To | |
| Change Parameter Type trip : Trip to tripDescriptor : GtfsRealtime.TripDescriptor in method private insertInboundBlockTransfers(arrivalNodes List<Integer>, tripDescriptor GtfsRealtime.TripDescriptor, departureNode int, stopTime StopTime, stop Stop, validityId int) : void in class com.graphhopper.reader.gtfs.GtfsReader | From | To | |
| Inline Method | 2 | ||
| Inline Method private findStop(t Label.Transition) : Stop inlined to package next(t Label.Transition) : void in class com.graphhopper.reader.gtfs.TripFromLabel.StopsFromBoardHopDwellEdges | From | To | |
| Rename Variable | 1 | ||
| Rename Variable tripId : String to tripDescriptor : GtfsRealtime.TripDescriptor in method private parsePathIntoLegs(path List<Label.Transition>, graph GraphExplorer, weighting Weighting, tr Translation) : List<Trip.Leg> in class com.graphhopper.reader.gtfs.TripFromLabel | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Map<Integer,String> to Map<Integer,byte[]> in method package getTripDescriptors() : Map<Integer,byte[]> in class com.graphhopper.reader.gtfs.GtfsStorage | From | To | |
| Change Return Type Optional<GtfsRealtime.TripUpdate> to Optional<GtfsReader.TripWithStopTimes> in method public getTripUpdate(tripDescriptor GtfsRealtime.TripDescriptor) : Optional<GtfsReader.TripWithStopTimes> in class com.graphhopper.reader.gtfs.RealtimeFeed | From | To | |
| Push Down Attribute | 2 | ||
| Push Down Attribute public departureTime : Date from class com.graphhopper.Trip.Leg to private departureTime : Date from class com.graphhopper.Trip.WalkLeg | From | To | |
| Push Down Attribute public arrivalTime : Date from class com.graphhopper.Trip.Leg to private arrivalTime : Date from class com.graphhopper.Trip.WalkLeg | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute tripId : String to tripDescriptor : GtfsRealtime.TripDescriptor in class com.graphhopper.reader.gtfs.TripFromLabel.StopsFromBoardHopDwellEdges | From | To | |
| Rename Attribute extra : Map<Integer,String> to tripDescriptors : Map<Integer,byte[]> in class com.graphhopper.reader.gtfs.GtfsStorage | From | To | |
| Extract Variable | 2 | ||
| Extract Variable initialTime : Instant in method public testDelayFromBeginningWithoutTransfer() : void from class com.graphhopper.RealtimeIT | From | To | |
| Extract Variable initialTime : Instant in method public testDelayWithoutTransfer() : void from class com.graphhopper.RealtimeIT | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type tripId : String to tripDescriptor : GtfsRealtime.TripDescriptor in method private parsePathIntoLegs(path List<Label.Transition>, graph GraphExplorer, weighting Weighting, tr Translation) : List<Trip.Leg> in class com.graphhopper.reader.gtfs.TripFromLabel | From | To | |
| Change Attribute Type | 4 | ||
| Change Attribute Type extra : Map<Integer,String> to tripDescriptors : Map<Integer,byte[]> in class com.graphhopper.reader.gtfs.GtfsStorage | From | To | |
| Change Attribute Type arrivalTimeFromHopEdge : long to arrivalTimeFromHopEdge : Instant in class com.graphhopper.reader.gtfs.TripFromLabel.StopsFromBoardHopDwellEdges | From | To | |
| Change Attribute Type stopTimes : Iterable<StopTime> to stopTimes : List<StopTime> in class com.graphhopper.reader.gtfs.GtfsReader.TripWithStopTimes | From | To | |
| Change Attribute Type tripId : String to tripDescriptor : GtfsRealtime.TripDescriptor in class com.graphhopper.reader.gtfs.TripFromLabel.StopsFromBoardHopDwellEdges | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter tripId : String to tripDescriptor : GtfsRealtime.TripDescriptor in method package StopsFromBoardHopDwellEdges(feedId String, tripDescriptor GtfsRealtime.TripDescriptor) in class com.graphhopper.reader.gtfs.TripFromLabel.StopsFromBoardHopDwellEdges | From | To | |
| Rename Parameter trip : Trip to tripDescriptor : GtfsRealtime.TripDescriptor in method private insertInboundBlockTransfers(arrivalNodes List<Integer>, tripDescriptor GtfsRealtime.TripDescriptor, departureNode int, stopTime StopTime, stop Stop, validityId int) : void in class com.graphhopper.reader.gtfs.GtfsReader | From | To |