Fix redundant String constructor call
This commit is contained in:
parent
6fc309af19
commit
6a3f36761c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue