fdad9cb18a13303dd97dbc9d2fed2e5d1af06037
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 1 | ||
Parameterize Variable flagStop : Stop to stop : Stop in method private createPatternDepartVertex(rr RoutingRequest, hop PatternHop, stop Stop) : TemporaryPatternDepartVertex in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Extract Variable | 1 | ||
Extract Variable startIndex : double in method public shortenEnd(opt RoutingRequest, state State, hop TemporaryPartialPatternHop, to PatternStopVertex, toStop Stop) : TemporaryPartialPatternHop from class org.opentripplanner.routing.flex.DeviatedRouteGraphModifier | From | To | |
Extract Method | 7 | ||
Extract Method private createTransitStopArrive(rr RoutingRequest, transitStop TemporaryTransitStop) : TransitStopArrive extracted from private createHopsToTemporaryStop(rr RoutingRequest, state State, flagTransitStop TemporaryTransitStop, originalPatternHop PatternHop) : void in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Extract Method private createTransitStopDepart(rr RoutingRequest, transitStop TemporaryTransitStop) : TransitStopDepart extracted from private createHopsFromTemporaryStop(rr RoutingRequest, state State, flagTransitStop TemporaryTransitStop, originalPatternHop PatternHop) : void in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Extract Method private createBoardEdge(rr RoutingRequest, transitStopDepart TransitStopDepart, patternDepartVertex PatternDepartVertex, hop TemporaryPartialPatternHop) : TemporaryTransitBoardAlight extracted from private createHopsFromTemporaryStop(rr RoutingRequest, state State, flagTransitStop TemporaryTransitStop, originalPatternHop PatternHop) : void in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Extract Method private createPatternArriveVertex(rr RoutingRequest, hop PatternHop, stop Stop) : TemporaryPatternArriveVertex extracted from private createHopsToTemporaryStop(rr RoutingRequest, state State, flagTransitStop TemporaryTransitStop, originalPatternHop PatternHop) : void in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Extract Method private createPatternDepartVertex(rr RoutingRequest, hop PatternHop, stop Stop) : TemporaryPatternDepartVertex extracted from private createHopsFromTemporaryStop(rr RoutingRequest, state State, flagTransitStop TemporaryTransitStop, originalPatternHop PatternHop) : void in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Extract Method private getTemporaryStop(streetVertex StreetVertex, s State, rctx RoutingContext, options RoutingRequest) : TemporaryTransitStop extracted from private getTemporaryStop(s State, hop PatternHop) : TemporaryTransitStop in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Extract Method private createAlightEdge(rr RoutingRequest, transitStopArrive TransitStopArrive, patternArriveVertex PatternArriveVertex, hop TemporaryPartialPatternHop) : TemporaryTransitBoardAlight extracted from private createHopsToTemporaryStop(rr RoutingRequest, state State, flagTransitStop TemporaryTransitStop, originalPatternHop PatternHop) : void in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Rename Parameter | 2 | ||
Rename Parameter flagTransitStop : TemporaryTransitStop to transitStop : TemporaryTransitStop in method private createTransitStopDepart(rr RoutingRequest, transitStop TemporaryTransitStop) : TransitStopDepart in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To | |
Rename Parameter flagTransitStop : TemporaryTransitStop to transitStop : TemporaryTransitStop in method private createTransitStopArrive(rr RoutingRequest, transitStop TemporaryTransitStop) : TransitStopArrive in class org.opentripplanner.routing.flex.GtfsFlexGraphModifier | From | To |