Skip to content

Do not inline a lambda body whose closing paren carries a comment #208

Do not inline a lambda body whose closing paren carries a comment

Do not inline a lambda body whose closing paren carries a comment #208

Triggered via pull request September 25, 2026 08:38
Status Success
Total duration 5m 40s
Artifacts –

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 1 notice
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/DocVisitor.java#L27
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/DocVisitor.java#L25
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/DocVisitor.java#L23
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/DocVisitor.java#L21
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/Level.java#L793
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/Level.java#L636
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/Level.java#L573
[StatementSwitchToExpressionSwitch] This statement switch can be converted to a new-style arrow switch
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/Level.java#L153
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format/src/main/java/com/palantir/javaformat/doc/Level.java#L151
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze: open-java-format-spi/src/main/java/com/palantir/javaformat/java/Replacement.java#L60
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
Analyze
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.
Analyze
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"