Skip to content

Stop deeply nested calls from taking exponential time to format #122

Stop deeply nested calls from taking exponential time to format

Stop deeply nested calls from taking exponential time to format #122

Triggered via push September 22, 2026 20:14
Status Success
Total duration 5m 55s
Artifacts –
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#L780
[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#L623
[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#L563
[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-base 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"