We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 720001b commit cbad217Copy full SHA for cbad217
src/main/java/org/opentripplanner/gtfs/mapping/LocationGroupMapper.java
@@ -48,7 +48,10 @@ private GroupStop doMap(LocationGroup element) {
48
.withName(new NonLocalizedString(element.getName()));
49
50
for (var location : element.getLocations()) {
51
- Objects.requireNonNull(location, "Location group '%s' contains a null element.".formatted(element.getId()));
+ Objects.requireNonNull(
52
+ location,
53
+ "Location group '%s' contains a null element.".formatted(element.getId())
54
+ );
55
switch (location) {
56
case Stop stop -> groupStopBuilder.addLocation(stopMapper.map(stop));
57
case Location loc -> groupStopBuilder.addLocation(locationMapper.map(loc));
0 commit comments