Apply errorprone suggestions using PatchLocation:IN_PLACE for KillLeakingJavaProcesses#35019
Conversation
Pankraz76
left a comment
There was a problem hiding this comment.
finally have found the way to apply this not wasting so much time on manual labor.
This comment was marked as resolved.
This comment was marked as resolved.
|
assumption: need to move config to root then its going to work out. |
There was a problem hiding this comment.
Thank you for the contribution.
I'm a bit skeptical about this change.
First of all, it's experimental.
Second, the value is questionable. It introduces changes that's hard to understand (unless it provides a detailed log, if that's the case, please share it).
Also, a human needs to double-check the output. Take, for example, ZoneId change - it's fine in the context of this particular build logic, but it would be wrong in the context of a build (because the timestamp would not be reproducible). With auto-fix, it would be tempting to ignore dismiss that.
|
requested report: |
Notes on ErrorProne Usage
ErrorProne is not about inventing or relying on custom opinions or arguments regarding standards. The outcome is what ultimately matters. Copy-and-paste workarounds do not scale, That’s why we have already integrated it into Checkstyle, It might still be considered experimental, However, it is not yet fully correct, Suggested References for a Perfectly Pitched Demo & Argumentation (by @rickie) |
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Vincent Potucek <vpotucek@me.com>
PatchLocation:IN_PLACEPatchLocation:IN_PLACE for KillLeakingJavaProcesses
Context
Contributor Checklist
<subproject>/src/integTest) to verify changes from a user perspective.<subproject>/src/test) to verify logic../gradlew sanityCheck../gradlew <changed-subproject>:quickTest.Reviewing cheatsheet
Before merging the PR, comments starting with