From d00a655564465ca063fa4bbf032e5bec7bdf3a65 Mon Sep 17 00:00:00 2001 From: acarbonetto Date: Wed, 11 Oct 2023 14:34:55 -0700 Subject: [PATCH] Accept TLS as a flag Signed-off-by: acarbonetto --- .../main/java/javababushka/benchmarks/BenchmarkingApp.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java b/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java index 78dc2b5d86..ae87c269f7 100644 --- a/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java +++ b/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java @@ -183,9 +183,7 @@ private static RunConfiguration verifyOptions(CommandLine line) throws ParseExce runConfiguration.dataSize = parseIntListOption(line.getOptionValue("dataSize")); } - if (line.hasOption("tls")) { - runConfiguration.tls = Boolean.parseBoolean(line.getOptionValue("tls")); - } + runConfiguration.tls = line.hasOption("tls"); return runConfiguration; }