Skip to content

Leave JBang directives at the top of a file as written #246

Leave JBang directives at the top of a file as written

Leave JBang directives at the top of a file as written #246

Triggered via pull request September 28, 2026 17:25
Status Success
Total duration 5m 21s
Artifacts –

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

20 warnings and 2 notices
Analyze (actions, none): open-java-format/src/test/java/com/palantir/javaformat/java/MainTest.java#L113
[FormatStringShouldUsePlaceholders] Using a format string avoids string concatenation in the common case.
Analyze (actions, none): open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij/FormatterProvider.java#L46
[PreferSafeLogger] Prefer using type-safe safe-logging loggers rather than safety-oblivious implementations.
Analyze (actions, none): gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle/FormatDiffTest.java#L107
[FormatStringShouldUsePlaceholders] Using a format string avoids string concatenation in the common case.
Analyze (actions, none): gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle/testing/GradleTestProject.java#L77
[AnnotateFormatMethod] This method uses a pair of parameters as a format string and its arguments, but the enclosing method wasn't annotated. Doing so gives compile-time rather than run-time protection against malformed format strings.
Analyze (actions, none): open-java-format/src/main/java/com/palantir/javaformat/java/ModifierOrderer.java#L200
[NullAway] passing @nullable parameter 'getLast(tokens)' where @nonnull is required
Analyze (java-kotlin, none): open-java-format/src/test/java/com/palantir/javaformat/java/MainTest.java#L113
[FormatStringShouldUsePlaceholders] Using a format string avoids string concatenation in the common case.
Analyze (java-kotlin, none): gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle/FormatDiffTest.java#L107
[FormatStringShouldUsePlaceholders] Using a format string avoids string concatenation in the common case.
Analyze (java-kotlin, none): gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle/testing/GradleTestProject.java#L77
[AnnotateFormatMethod] This method uses a pair of parameters as a format string and its arguments, but the enclosing method wasn't annotated. Doing so gives compile-time rather than run-time protection against malformed format strings.
Analyze (java-kotlin, none): open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij/FormatterProvider.java#L46
[PreferSafeLogger] Prefer using type-safe safe-logging loggers rather than safety-oblivious implementations.
Analyze (actions, none)
"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"
Analyze (java-kotlin, none)
"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"