Skip to content

Allocate a sixth less in the layout: List.of() for OpsBuilder's empty lists, plain fields for what Doc memoizes #702

Allocate a sixth less in the layout: List.of() for OpsBuilder's empty lists, plain fields for what Doc memoizes

Allocate a sixth less in the layout: List.of() for OpsBuilder's empty lists, plain fields for what Doc memoizes #702

Triggered via pull request November 24, 2026 08:19
Status Success
Total duration 13m 38s
Artifacts –

ci.yml

on: pull_request
Matrix: jdk
Matrix: native
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 1 notice
build: open-java-format-idea-plugin/src/test/java/com/palantir/javaformat/intellij/PalantirJavaFormatFormattingServiceTest.java#L101
[ProtectedMembersInFinalClass] Make members of final classes package-private: getProject, getProjectDescriptor
build: open-java-format-idea-plugin/src/test/java/com/palantir/javaformat/intellij/PalantirJavaFormatConfigurableTest.java#L596
[ReferenceEquality] Comparison using reference equality instead of value equality
build: open-java-format-idea-plugin/src/test/java/com/palantir/javaformat/intellij/EmbeddedNativeImageTest.java#L69
[AddressSelection] Prefer InetAddress.getAllByName to APIs that convert a hostname to a single IP address
build: open-java-format/src/main/java/com/palantir/javaformat/java/RemoveUnusedImports.java#L197
[VoidUsed] Using a Void-typed variable is potentially confusing, and can be replaced with a literal `null`.
build: open-java-format/src/main/java/com/palantir/javaformat/java/RemoveUnusedImports.java#L137
[VoidUsed] Using a Void-typed variable is potentially confusing, and can be replaced with a literal `null`.
build: open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L62
[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.
build: open-java-format/src/main/java/com/palantir/javaformat/java/ImportOrderer.java#L632
[UnusedMethod] Method 'endsInNewline' is never used.
build: open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij/EmbeddedNativeImage.java#L235
[StringSplitter] String.split(String) has surprising behavior
build: open-java-format/src/main/java/com/palantir/javaformat/doc/DocVisitor.java#L21
[IfChainToSwitch] This if-chain may be converted into a switch
build: gradle-open-java-format/src/main/java/com/palantir/javaformat/gradle/SpotlessInterop.java#L62
[InjectOnConstructorOfAbstractClass] Constructors on abstract classes are never directly @Inject'ed, only the constructors of their subclasses can be @Inject'ed.
native (macos-15-intel)
This build uses GraalVM CE for JDK 25.0.1, the last available JDK 25 build for macOS Intel.
JDK 28-ea runs with -x :gradle-open-java-format:test
No Gradle release runs on Java 28 yet: 9.8.2, the newest, fails to compile a build script there with "Unsupported class file major version 72". The Gradle plugins' tests build their projects with Gradle on the test JVM, so they are left out until a release runs on it.