test: fix code style #1
Annotations
4 errors
|
|
|
:src:core:compileJava#L0
Execution failed for task ':src:core:compileJava'.
Caused by:
Compilation failed; see the compiler output below.
/home/runner/work/jmeter/jmeter/src/core/src/main/java/org/apache/jmeter/config/Arguments.java:186: warning: [PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
return value instanceof Argument && ((Argument) value).isEnabled();
^
(see https://errorprone.info/bugpattern/PatternMatchingInstanceof)
Did you mean 'return value instanceof Argument argument && argument.isEnabled();'?
error: warnings found and -Werror specified
1 error
1 warning
|
|
:src:core:compileJava#L0
Execution failed for task ':src:core:compileJava'.
Caused by:
Compilation failed; see the compiler output below.
/home/runner/work/jmeter/jmeter/src/core/src/main/java/org/apache/jmeter/config/Arguments.java:186: warning: [PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
return value instanceof Argument && ((Argument) value).isEnabled();
^
(see https://errorprone.info/bugpattern/PatternMatchingInstanceof)
Did you mean 'return value instanceof Argument argument && argument.isEnabled();'?
error: warnings found and -Werror specified
1 error
1 warning
|
|
|
The logs for this run have expired and are no longer available.
Loading