mirror of https://github.com/apache/kafka.git
HOTFIX: Compilation error in CommandLineUtils (#6131)
This was broken by #6084. The syntax works with Scala 2.12, but not 2.11. Reviewers: Colin Patrick McCabe <colin@cmccabe.xyz>
This commit is contained in:
parent
625e0d8829
commit
e120feb485
|
|
@ -127,7 +127,7 @@ class CommandLineUtilsTest {
|
|||
"--str-opt", "some-string-2",
|
||||
"--int-opt", "700",
|
||||
"--str-opt-nodef", "some-string-3",
|
||||
"--int-opt-nodef", "800",
|
||||
"--int-opt-nodef", "800"
|
||||
)
|
||||
|
||||
CommandLineUtils.maybeMergeOptions(props, "skey", options, stringOpt)
|
||||
|
|
@ -158,7 +158,7 @@ class CommandLineUtilsTest {
|
|||
"--str-opt",
|
||||
"--int-opt",
|
||||
"--str-opt-nodef",
|
||||
"--int-opt-nodef",
|
||||
"--int-opt-nodef"
|
||||
)
|
||||
|
||||
CommandLineUtils.maybeMergeOptions(props, "sokey", options, stringOptOptionalArg)
|
||||
|
|
|
|||
Loading…
Reference in New Issue