Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19198 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
stoecker committed Aug 16, 2024
1 parent d09b084 commit 9a31533
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ void testTicket21856DoublePoints() {
final Way incomplete = new Way(1082474948, 10);
final Way way1 = TestUtils.newWay("highway=residential", new Node(new LatLon(47.9971473, 8.1274441)),
new Node(new LatLon(48.0011535, 8.1363531)));
final Way way2 = TestUtils.newWay("highway=residential", new Node(new LatLon(48.0012294, 8.136414)),
final Way way2 = TestUtils.newWay("highway=residential", new Node(new LatLon(48.0012294, 8.136414)),
new Node(new LatLon(48.0042513, 8.1378392)));
final Way splitWay = TestUtils.newWay("highway=residential", new Node(new LatLon(48.0011817, 8.1363763)),
new Node(new LatLon(48.0012086, 8.1363974)));
Expand Down Expand Up @@ -528,7 +528,7 @@ void testTicket21856DoublePointsRouteMiddle() {
final Way incomplete = new Way(1082474948, 10);
final Way way1 = TestUtils.newWay("highway=residential", new Node(new LatLon(47.9971473, 8.1274441)),
new Node(new LatLon(48.0011535, 8.1363531)));
final Way way2 = TestUtils.newWay("highway=residential", new Node(new LatLon(48.0012294, 8.136414)),
final Way way2 = TestUtils.newWay("highway=residential", new Node(new LatLon(48.0012294, 8.136414)),
new Node(new LatLon(48.0042513, 8.1378392)));
final Way splitWay = TestUtils.newWay("highway=residential", new Node(new LatLon(48.0011817, 8.1363763)),
new Node(new LatLon(48.0012086, 8.1363974)));
Expand Down Expand Up @@ -565,7 +565,6 @@ void testTicket21856DoublePointsRouteMiddle() {
assertWellFormedRoute(ptRelation);
}


private static void assertWellFormedRoute(Relation route) {
WayConnectionTypeCalculator connectionTypeCalculator = new WayConnectionTypeCalculator();
List<WayConnectionType> links = connectionTypeCalculator.updateLinks(route, route.getMembers());
Expand Down

0 comments on commit 9a31533

Please sign in to comment.