Skip to content

Add an errorProneFix task that applies Error Prone's suggested fixes - #575

Merged
mernst merged 2 commits into
plume-lib:masterfrom
mernst:error-prone-fix
Nov 19, 2026
Merged

mernst merged 2 commits into
plume-lib:masterfrom
mernst:error-prone-fix

Conversation

@mernst

@mernst mernst commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Running ./gradlew errorProneFix rewrites the source files in place, applying Error Prone's suggested fixes, and then runs spotlessJavaApply to format them.

When that task is requested (by its full name, in any capitalization, or by a camel-case abbreviation such as ePF, all of which Gradle accepts):

  • Each compilation passes -XepPatchLocation:IN_PLACE to Error Prone.
  • javac does not get -Werror, because a warning would stop javac before Error Prone applies its fixes.
  • The Checker Framework does not run. It is not needed, and a Checker Framework error would stop javac before Error Prone applies its fixes.
  • The compilation tasks always run, even if their outputs are up to date or cached.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 517ed19 and 7d2a46a.

Files selected for processing: 1

  • build.gradle.kts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@mernst
mernst merged commit 0690bd4 into plume-lib:master Nov 19, 2026
5 checks passed
@mernst
mernst deleted the error-prone-fix branch November 19, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant