Skip to content

Add baseline test case for leading /// shebang comments. #1729

Add baseline test case for leading /// shebang comments.

Add baseline test case for leading /// shebang comments. #1729

Triggered via push November 19, 2026 16:48
Status Success
Total duration 2m 59s
Artifacts –

ci.yml

on: push
Matrix: test-OpenJDK
Matrix: test-GraalVM
Publish snapshot
39s
Publish snapshot
Fit to window
Zoom out
Zoom in

Annotations

92 warnings and 2 notices
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1453
[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#L1198
[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#L1162
[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#L1097
[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#L1093
[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#L768
[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#L526
[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/JavaOutput.java#L43
[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/JavaInput.java#L450
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1453
[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#L1198
[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#L1162
[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#L1097
[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#L1093
[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#L768
[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#L526
[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/JavaOutput.java#L43
[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/JavaInput.java#L450
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
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
[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
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
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
[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
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1453
[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#L1198
[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#L1162
[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#L1097
[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#L1093
[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#L768
[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#L526
[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#L3038
[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/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/JavaInput.java#L450
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1453
[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#L1198
[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#L1162
[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#L1097
[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#L1093
[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#L768
[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#L526
[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#L3038
[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/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/JavaInput.java#L450
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1453
[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#L1198
[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#L1162
[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#L1097
[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#L1093
[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#L768
[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#L526
[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#L3038
[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/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/JavaInput.java#L450
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1453
[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#L1198
[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#L1162
[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#L1097
[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#L1093
[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#L768
[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#L526
[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#L3038
[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/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/JavaInput.java#L450
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1453
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1198
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1162
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1097
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1093
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L768
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L526
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaOutput.java#L43
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
Publish snapshot: 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
Publish snapshot: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L450
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
Publish snapshot
The 'server-password' input is deprecated and may be removed in a future release. Please use 'server-password-env-var' instead.
Publish snapshot
The 'server-username' input is deprecated and may be removed in a future release. Please use 'server-username-env-var' instead.
GraalVM on macos-latest
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
JDK 25 on macos-latest
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.