Skip to content

Add baseline test cases for lambda hugging in google-java-format. #1594

Add baseline test cases for lambda hugging in google-java-format.

Add baseline test cases for lambda hugging in google-java-format. #1594

Triggered via pull request October 15, 2026 12:02
Status Success
Total duration 3m 12s
Artifacts –

ci.yml

on: pull_request
Matrix: test-OpenJDK
Matrix: test-GraalVM
Publish snapshot
Publish snapshot
Fit to window
Zoom out
Zoom in

Annotations

80 warnings and 5 notices
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1149
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1085
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1081
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L765
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L525
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L2988
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/ImportOrderer.java#L57
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L431
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L246
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1149
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1085
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1081
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L765
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L525
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L2988
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/ImportOrderer.java#L57
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L431
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L246
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1149
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1085
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1081
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L765
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L525
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L2988
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/ImportOrderer.java#L57
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L431
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L246
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1149
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1085
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1081
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L765
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L525
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L2988
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/ImportOrderer.java#L57
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L431
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L246
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1149
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1085
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1081
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L765
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L525
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/ImportOrderer.java#L57
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaOutput.java#L39
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L431
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L246
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1149
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1085
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1081
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L765
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L525
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/ImportOrderer.java#L57
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaOutput.java#L39
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L431
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L246
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on windows-latest
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 25 on windows-latest
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on windows-latest
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on windows-latest
[InlineMeSuggester] This deprecated API looks inlineable. If you'd like the body of the API to be automatically inlined to its callers, please annotate it with @InlineMe. NOTE: the suggested fix makes the method final if it was not already.
JDK 25 on windows-latest
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on windows-latest
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
JDK 25 on ubuntu-latest
"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"
JDK 21 on ubuntu-latest
"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"
JDK EA on ubuntu-latest
"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"
GraalVM on macos-latest
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.