-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Additional SVG diagrams in updaters package.md #5936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 13 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
50cef84
Add excalidraw SVG diagrams of timetable snapshots
abyrd 1d323c4
update some javadoc about Vias
abyrd bbe4e55
explain that new diagram is detail of old one
abyrd 92b015a
Split excalidraw file and derived SVGs
abyrd c04cf3a
Merge branch 'dev-2.x' into abyrd/rt-snapshot-docs
abyrd a5291ee
maintain svg fragment relative widths
abyrd 0b4cc7b
adjust title and relative svg width
abyrd 05dd9ad
add explanatory text between snapshot diagrams
abyrd 39d9e0b
regenerate excalidraw and svg to fix arrows
abyrd 457f00c
Update src/main/java/org/opentripplanner/transit/model/timetable/Stop…
abyrd 0b0f20f
consolidate domain javadoc on interface method
abyrd 5c2ec08
revise updater package.md in response to PR review
abyrd f180441
fix import and javadoc method reference
abyrd 649a79c
update arrows in diagrams and related text
abyrd c4da8a9
apply javadoc change from review
abyrd 11e8997
touch up diagram 5, set font to sans serif
abyrd 365cb25
rename field to match interface accessor method
abyrd 58451ac
Merge branch 'dev-2.x' into abyrd/rt-snapshot-docs
abyrd e6b774e
remove javadoc - field name matches accessor name
abyrd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,8 +40,8 @@ public final class ScheduledTripTimes implements TripTimes { | |
| private static final int MAX_TIME = DurationUtils.durationInSeconds("20d"); | ||
|
|
||
| /** | ||
| * Implementation notes: This allows re-using the same scheduled arrival and departure time | ||
| * arrays for many ScheduledTripTimes. It is also used in materializing frequency-based | ||
| * Implementation notes: This timeShift allows re-using the same scheduled arrival and departure | ||
| * time arrays for many ScheduledTripTimes. It is also used in materializing frequency-based | ||
| * ScheduledTripTimes. | ||
| */ | ||
| private final int timeShift; | ||
|
|
@@ -53,18 +53,25 @@ public final class ScheduledTripTimes implements TripTimes { | |
| private final List<BookingInfo> dropOffBookingInfos; | ||
| private final List<BookingInfo> pickupBookingInfos; | ||
|
|
||
| /** | ||
| * The headsign displayed by the vehicle at each stop along this trip. The array index is the | ||
| * stop index within this trip's TripPattern. Any number of array elements may point to the same | ||
| * I18NString instance if the headsign remains unchanged between stops. | ||
| */ | ||
| @Nullable | ||
| private final I18NString[] headsigns; | ||
|
|
||
| /** | ||
| * Implementation notes: This is 2D array since there can be more than one via name/stop per each | ||
| * record in stop sequence). Outer array may be null if there are no vias in stop sequence. Inner | ||
| * array may be null if there are no vias for particular stop. This is done in order to save | ||
| * space. | ||
| * A 2D array of String containing zero or more Via messages displayed at each stop in the | ||
| * stop sequence. This reference be null if no stop in the entire sequence of stops has any via | ||
| * strings. Any subarray may also be null or empty if no Via strings are displayed at that | ||
| * particular stop. These nulls are allowed to conserve memory in the common case where there are | ||
| * few or no via messages. | ||
| */ | ||
| @Nullable | ||
| private final String[][] headsignVias; | ||
|
|
||
| /** TODO RT_AB: document, what is this for? */ | ||
|
||
| private final int[] originalGtfsStopSequence; | ||
|
|
||
| ScheduledTripTimes(ScheduledTripTimesBuilder builder) { | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.