aboutsummaryrefslogtreecommitdiffstats
path: root/jrt/src/com/yahoo/jrt/tool/RpcInvoker.java
diff options
context:
space:
mode:
Diffstat (limited to 'jrt/src/com/yahoo/jrt/tool/RpcInvoker.java')
-rw-r--r--jrt/src/com/yahoo/jrt/tool/RpcInvoker.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/jrt/src/com/yahoo/jrt/tool/RpcInvoker.java b/jrt/src/com/yahoo/jrt/tool/RpcInvoker.java
index 70beb291527..0de39cbbcd2 100644
--- a/jrt/src/com/yahoo/jrt/tool/RpcInvoker.java
+++ b/jrt/src/com/yahoo/jrt/tool/RpcInvoker.java
@@ -17,7 +17,6 @@ import com.yahoo.jrt.Value;
import com.yahoo.jrt.Values;
import java.time.Duration;
-import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
@@ -108,7 +107,7 @@ public class RpcInvoker {
System.err.println(" supported types: {'b','h','i','l','f','d','s'}");
System.exit(0);
}
- List<String> arguments = new ArrayList<String>(Arrays.asList(args));
+ List<String> arguments = new ArrayList<String>(List.of(args));
String connectSpec = "localhost:8086";
if ("-h".equals(arguments.get(0)) && arguments.size() >= 3) {
arguments.remove(0); // Consume -h