Fix manual array to collection copy

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

View file

@ -2,6 +2,7 @@ package net.osmand.binary;
import java.io.IOException;
import java.util.Collections;
import net.osmand.NativeLibrary;
import net.osmand.bridge.ObfInspector;
@ -21,9 +22,7 @@ public class BinaryInspectorNative {
// test cases show info
NativeLibrary.loadAllLibs(null);
StringVector vector = new StringVector();
for(int i = 0; i < args.length; i++) {
vector.add(args[i]);
}
Collections.addAll(vector, args);
ObfInspector.inspector(vector);
}