Skip to content

Commit 2ccf86f

Browse files
2martenshbtjma
authored andcommitted
style: Apply style improvements
1 parent 018806d commit 2ccf86f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

src/test/java/org/opentripplanner/openstreetmap/tagmapping/HamburgMapperTest.java

+9-11
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,23 @@ public void shouldAllowThroughTraffic_WhenAccessCustomers_AndCustomersHVV() {
2424

2525
boolean generalNoThroughTraffic = mapper.isGeneralNoThroughTraffic(way);
2626

27-
Assertions.assertFalse(generalNoThroughTraffic,
28-
"access=customers and customers=hvv should not be considered through-traffic");
27+
Assertions.assertFalse(
28+
generalNoThroughTraffic,
29+
"access=customers and customers=hvv should not be considered through-traffic"
30+
);
2931
}
3032

3133
@ParameterizedTest
32-
@CsvSource(value = {
33-
"no",
34-
"destination",
35-
"private",
36-
"customers",
37-
"delivery"
38-
})
34+
@CsvSource(value = { "no", "destination", "private", "customers", "delivery" })
3935
public void shouldDisallowThroughTraffic_WhenNoCustomersHVV(String access) {
4036
OSMWithTags way = new OSMWithTags();
4137
way.addTag("access", access);
4238

4339
boolean generalNoThroughTraffic = mapper.isGeneralNoThroughTraffic(way);
4440

45-
Assertions.assertTrue(generalNoThroughTraffic,
46-
"access={no, destination, private, customers, delivery} should be blocked in general");
41+
Assertions.assertTrue(
42+
generalNoThroughTraffic,
43+
"access={no, destination, private, customers, delivery} should be blocked in general"
44+
);
4745
}
4846
}

0 commit comments

Comments
 (0)