Skip to content

Commit cbad217

Browse files
Fix formatting
1 parent 720001b commit cbad217

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/org/opentripplanner/gtfs/mapping/LocationGroupMapper.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ private GroupStop doMap(LocationGroup element) {
4848
.withName(new NonLocalizedString(element.getName()));
4949

5050
for (var location : element.getLocations()) {
51-
Objects.requireNonNull(location, "Location group '%s' contains a null element.".formatted(element.getId()));
51+
Objects.requireNonNull(
52+
location,
53+
"Location group '%s' contains a null element.".formatted(element.getId())
54+
);
5255
switch (location) {
5356
case Stop stop -> groupStopBuilder.addLocation(stopMapper.map(stop));
5457
case Location loc -> groupStopBuilder.addLocation(locationMapper.map(loc));

0 commit comments

Comments
 (0)