diff --git a/src/main/java/org/pgrserver/graph/MainGraph.java b/src/main/java/org/pgrserver/graph/MainGraph.java index fbd48c4..af58544 100644 --- a/src/main/java/org/pgrserver/graph/MainGraph.java +++ b/src/main/java/org/pgrserver/graph/MainGraph.java @@ -151,7 +151,7 @@ public List> tsp(List> inPoints) { */ NearestNeighborHeuristicTSP nnhTsp = new NearestNeighborHeuristicTSP( - new Integer(0)); + Integer.valueOf(0)); GraphPath path = nnhTsp.getTour(tspGraph); List vertexList = path.getVertexList();