From 0f9573e22e959bc16c24ebb0bded2323c0f9fb2a Mon Sep 17 00:00:00 2001 From: TacoTheDank Date: Thu, 19 Nov 2020 15:22:27 -0500 Subject: [PATCH] Performance: Redundant call to 'String.format()' --- OsmAnd-java/src/main/java/net/osmand/TspHeldKarp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/TspHeldKarp.java b/OsmAnd-java/src/main/java/net/osmand/TspHeldKarp.java index 8c2a4baf32..e4862d3bfe 100644 --- a/OsmAnd-java/src/main/java/net/osmand/TspHeldKarp.java +++ b/OsmAnd-java/src/main/java/net/osmand/TspHeldKarp.java @@ -68,7 +68,7 @@ public class TspHeldKarp { } break; } - System.err.printf("."); + System.err.print("."); PriorityQueue children = new PriorityQueue(11, new NodeComparator()); children.add(exclude(currentNode, i, currentNode.parent[i])); for (int j = 0; j < n; j++) {