Skip to content

Bring over upstream #1707 (Java 25 syntax) and #1786 (JDK 27 end positions) #116

Bring over upstream #1707 (Java 25 syntax) and #1786 (JDK 27 end positions)

Bring over upstream #1707 (Java 25 syntax) and #1786 (JDK 27 end positions) #116

Triggered via pull request September 22, 2026 16:03
Status Success
Total duration 5m 5s
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#L759
[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#L602
[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#L542
[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#L144
[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#L142
[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"