diff options
Diffstat (limited to 'host/migration/src/QueryCommand.java')
-rw-r--r-- | host/migration/src/QueryCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/migration/src/QueryCommand.java b/host/migration/src/QueryCommand.java index 6d5c1dc8..69be0b21 100644 --- a/host/migration/src/QueryCommand.java +++ b/host/migration/src/QueryCommand.java @@ -63,7 +63,7 @@ public class QueryCommand extends Command { commandList.add(PROJECTION); commandList.add("--show-type"); //this is totally awesomely lineage specific commandList.add("true"); - commands = commandList.toArray(new String[commandList.size()]); + commands = commandList.toArray(new String[0]); if (MigrationTest.DEBUG) { System.out.println("Using commands: " + Arrays.toString(commands)); } |