Skip to content

Fix #5953: [java] PoC: Add rewrite support for errorprone.refasterrules #5956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pankraz76
Copy link
Contributor

@Pankraz76 Pankraz76 commented Aug 1, 2025

Fix #5953: [java] PoC: Add rewrite support for errorprone.refasterrules

@Pankraz76 Pankraz76 changed the title Fix #5875: [java] PoC: Add rewrite support for errorprone.refasterrules Fix #5953: [java] PoC: Add rewrite support for errorprone.refasterrules Aug 1, 2025
@Pankraz76 Pankraz76 marked this pull request as ready for review August 1, 2025 22:29
@Pankraz76
Copy link
Contributor Author

Caused by: org.apache.maven.plugin.MojoExecutionException: Applying recipes would make changes. See logs for more details.

@Pankraz76
Copy link
Contributor Author

Caused by: org.apache.maven.plugin.MojoExecutionException: Applying recipes would make changes. See logs for more details.

this quality gate will prevent any further @adangel @oowekyala

@Pankraz76

This comment was marked as resolved.

@Pankraz76 Pankraz76 force-pushed the errorprone branch 3 times, most recently from a4ba768 to ef01cfd Compare August 3, 2025 06:12
@zbynek
Copy link
Contributor

zbynek commented Aug 3, 2025

Dead links detected

That's about documentation changes -- the link to gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts seems to be wrong.

@Pankraz76 Pankraz76 force-pushed the errorprone branch 3 times, most recently from 1b7ba06 to 339652a Compare August 3, 2025 09:54
@Pankraz76 Pankraz76 force-pushed the errorprone branch 2 times, most recently from aafd1ff to e91e2f7 Compare August 3, 2025 11:06
Copy link

github-actions bot commented Aug 3, 2025

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 112 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.

Regression Tester Report

(comment created at 2025-08-03 12:01:28+00:00 for b9ecb32)

@Pankraz76
Copy link
Contributor Author

so is this something you would consider?

Error prone could help to avoid some bugs and automate some of checkstyle whitespaces stuff could simple follow.

@Pankraz76
Copy link
Contributor Author

Pankraz76 commented Aug 15, 2025

please see dedicated checkstyle approach:

We could also run the recipes without the plugin making the code fixes an increment for PMD. If the plugin then is worth to integrate could be determined afterwards.

@adangel
@oowekyala

If not we also close this as mentioned in on still ongoing and not resolved discussion:

I understand you dont want to integrate the plugin so fast, then encourage you to try other projects like maven to get in touch with spotless. Its the same idea behind all these tools so it should actually be simple here to argue for adding another static code analysis tool, or whats the big deal?

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.

Add rewrite support for errorprone.refasterrules
2 participants