Fix redundant String constructor call

This commit is contained in:
Nelson A. de Oliveira 2013-07-31 15:07:07 -03:00
parent 6fc309af19
commit 6a3f36761c

View file

@ -263,7 +263,7 @@ public class TspAnt {
}
public static String tourToString(int tour[]) {
String t = new String();
String t = "";
for (int i : tour)
t = t + " " + i;
return t;