Merge pull request #87 from openjavaformat/code-scanning-alerts #235
Annotations
56 warnings and 6 notices
|
|
|
build (JDK 26):
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.
|
|
build (JDK 26):
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.
|
|
|
|
|
|
build (JDK 26):
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
build:
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.
|
|
|
|
build:
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.
|
|
|
|
|
|
build:
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
|
|
build (JDK 27):
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.
|
|
|
|
|
|
build (JDK 27):
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
build (JDK 25):
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.
|
|
|
|
build (JDK 25):
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.
|
|
|
|
|
|
build (JDK 25):
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
native (linux-aarch64):
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.
|
|
native (linux-aarch64):
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
|
|
|
|
native (linux-x86-64):
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.
|
|
|
|
|
|
native (linux-x86-64):
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
native (macos-aarch64):
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.
|
|
|
|
|
|
native (macos-aarch64):
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
native (macos-x86-64):
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.
|
|
|
|
|
|
native (macos-x86-64):
open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L630
[UnusedMethod] Method 'endsInNewline' is never used.
|
|
|
|
|
|
native (macos-x86-64)
This build uses GraalVM CE for JDK 25.0.1, the last available JDK 25 build for macOS Intel.
|
|
build (JDK 26)
"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"
|
|
build
"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 27 runs with -x :gradle-open-java-format:test
Gradle 9.7.1 does not run on Java 27 yet, and the Gradle plugin's tests run their TestKit builds on the test JVM, where they fail with "Unsupported class file major version 71". Those tests are left out until the wrapper's Gradle supports Java 27.
|
|
build (JDK 27)
"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"
|
|
build (JDK 25)
"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"
|
|
native (linux-x86-64)
"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"
|