Skip to content

Commit d9ad56a

Browse files
authored
fix: Fixed the description for "overlapping_frequency" and "timeframe_overlap" (#2084)
* Fixed the description for "overlapping_frequency" and "timeframe_overlap"
1 parent ec2a228 commit d9ad56a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

main/src/main/java/org/mobilitydata/gtfsvalidator/validator/OverlappingFrequencyValidator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public void validate(NoticeContainer noticeContainer) {
6868
* Trip frequencies overlap.
6969
*
7070
* <p>Trip frequencies must not overlap in time. Two entries X and Y are considered to directly
71-
* overlap if `X.start_time &lt;= Y.start_time` and `Y.start_time &lt; X.end_time`.
71+
* overlap if X.start_time is less than or equal to Y.start_time and Y.start_time is less than
72+
* X.end_time.
7273
*/
7374
@GtfsValidationNotice(severity = ERROR, files = @FileRefs(GtfsFrequencySchema.class))
7475
static class OverlappingFrequencyNotice extends ValidationNotice {

main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TimeframeOverlapValidator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ static TimeframeKey create(GtfsTimeframe timeframe) {
7878
* overlapping time intervals.
7979
*
8080
* <p>Timeframes with the same group and service dates must not overlap in time. Two entries X and
81-
* Y are considered to directly overlap if `X.start_time &lt;= Y.start_time` and `Y.start_time
82-
* &lt; X.end_time`.
81+
* Y are considered to directly overlap if X.start_time is less than or equal to Y.start_time and
82+
* Y.start_time is less than X.end_time.
8383
*/
8484
@GtfsValidationNotice(severity = ERROR, files = @FileRefs(GtfsFrequencySchema.class))
8585
static class TimeframeOverlapNotice extends ValidationNotice {

0 commit comments

Comments
 (0)