Repository navigation
Fix Spotless failure on a clean checkout - #2319
Merged
Merged
Conversation
Signed-off-by: Conor Svensson <conor10@gmail.com>
conor10
commented
Sep 28, 2026
conor10
left a comment
Contributor
Author
There was a problem hiding this comment.
Changes look good.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Applies the existing Spotless Java rules to 17 files: four runnable example assets and 13 library/test files. Changes consist of required license headers, import ordering, line wrapping, whitespace, and removal of one unused import. Formatter rules and source coverage are preserved.
Fixes #2318.
Where should the reviewer start?
Start with the example assets under
.agents/skills/web3j/assets/andcodegen/src/test/java/org/web3j/codegen/StructDynamicArrayDecodeTest.java, which gain license headers. The remaining changes are formatter output. All 17 formatted files match the formatting cleanup already included in #2315; this PR isolates that repair from the release-workflow changes.Why is it needed?
On current main (
241aca294a47de5957ebe4002e37da86aa431e21),./gradlew checkencounters a failing:spotlessJavaCheckbecause these tracked Java files do not comply with the configured formatter. Applying the existing rules clears that formatting gate.Validation
./gradlew --no-daemon :spotlessJavaCheckbefore the change../gradlew --no-daemon :spotlessJavaApply../gradlew --no-daemon spotlessCheckpasses across all modules: 121 actionable tasks, 118 executed and 3 up-to-date.git diff --checkpasses.checkand runtime tests were not rerun for this formatting-only change.Checklist