aboutsummaryrefslogtreecommitdiffstats
path: root/host/migration/src/AdbCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'host/migration/src/AdbCommand.java')
-rw-r--r--host/migration/src/AdbCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/migration/src/AdbCommand.java b/host/migration/src/AdbCommand.java
index 54cdb7b7..bdc54640 100644
--- a/host/migration/src/AdbCommand.java
+++ b/host/migration/src/AdbCommand.java
@@ -54,7 +54,7 @@ public class AdbCommand extends Command {
List<String> commandList = new ArrayList<String>(
baseCommand.length + 1);
commandList.addAll(Arrays.asList(baseCommand));
- String[] commands = commandList.toArray(new String[commandList.size()]);
+ String[] commands = commandList.toArray(new String[0]);
if (MigrationTest.DEBUG) {
System.out.println("Using commands: " + Arrays.toString(commands));