Update RoutingEngine.java

This commit is contained in:
afischerdev 2023-05-21 11:23:38 +02:00 committed by GitHub
parent fcab1a31fd
commit 64cabbe42f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,7 +278,7 @@ public class RoutingEngine extends Thread {
MatchedWaypoint wpt1 = new MatchedWaypoint();
wpt1.waypoint = waypoints.get(0);
wpt1.name = "wpt_info";
List<MatchedWaypoint> listOne = new ArrayList<MatchedWaypoint>();
List<MatchedWaypoint> listOne = new ArrayList<>();
listOne.add(wpt1);
matchWaypointsToNodes(listOne);