Skip to content

Commit 8873603

Browse files
Update application/src/main/java/org/opentripplanner/transit/model/framework/FeedScopedId.java
Co-authored-by: Leonard Ehrenfried <mail@leonard.io>
1 parent 670b98c commit 8873603

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

application/src/main/java/org/opentripplanner/transit/model/framework/FeedScopedId.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static boolean isValidString(@Nullable String value) throws IllegalArgume
9393
public void requireSameFeedId(FeedScopedId other) {
9494
if (!feedId.equals(other.feedId)) {
9595
throw new IllegalArgumentException(
96-
"FeedIds does not match: '" + feedId + "' != '" + other.feedId + "'"
96+
"FeedIds do not match: '" + feedId + "' != '" + other.feedId + "'"
9797
);
9898
}
9999
}

application/src/test/java/org/opentripplanner/transit/model/framework/FeedScopedIdTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void requireSameFeedId() {
5959
var ex = assertThrows(IllegalArgumentException.class, () ->
6060
new FeedScopedId("F", "1").requireSameFeedId(new FeedScopedId("E", "1"))
6161
);
62-
assertEquals("FeedIds does not match: 'F' != 'E'", ex.getMessage());
62+
assertEquals("FeedIds do not match: 'F' != 'E'", ex.getMessage());
6363
}
6464

6565
@Test

0 commit comments

Comments
 (0)