-
Notifications
You must be signed in to change notification settings - Fork 507
[rewrite] add CodeCleanup
#2812
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
Conversation
ee7d200 to
f87a9c3
Compare
f87a9c3 to
44a77a5
Compare
| - name: Rewrite ♻️ | ||
| run: ./gradlew rewriteDryRun | ||
| - name: assemble testClasses | ||
| run: ./gradlew clean rewriteDryRun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try with clean to avoid regression like seen in: @Goooler
7ab4e8c to
9032a0a
Compare
8b5f574 to
2f39be6
Compare
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
2f39be6 to
c131cac
Compare
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
.github/workflows/ci.yml
Outdated
| - name: build (everything-but-maven) | ||
| if: matrix.kind == 'gradle' | ||
| run: ./gradlew build -x spotlessCheck -x rewriteDryRun -PSPOTLESS_EXCLUDE_MAVEN=true | ||
| run: ./gradlew clean build -PSPOTLESS_EXCLUDE_MAVEN=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| uses: gradle/actions/setup-gradle@v5 | ||
| - name: build (maven-only) | ||
| if: matrix.kind == 'maven' | ||
| run: ./gradlew :plugin-maven:build -x spotlessCheck -x rewriteDryRun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rewriteDryRun- we only call this on demand.
spotlessCheck- we do not reach here if not complain, could double check here or is this flaky as well, therefore excluded ?
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
| - name: Rewrite ♻️ | ||
| run: ./gradlew rewriteDryRun | ||
| - name: assemble testClasses | ||
| run: ./gradlew assemble testClasses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
|
IO:
com.diffplug.spotless.ThrowingEx$WrappedAsRuntimeException: java.io.IOException: Failed to load eclipse cdt formatter: java.lang.IllegalStateException: P2 operation already in progress, close other clients or delete stale lockfile at /home/runner/.m2/repository/dev/equo/p2-data/metadata/.lock |
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
Signed-off-by: Vincent Potucek <[email protected]> - https://docs.openrewrite.org/recipes/staticanalysis/codecleanup ``` There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/eslint-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/prettier-package.json There were problems parsing lib/src/main/resources/com/diffplug/spotless/npm/tsfmt-package.json All sources parsed, running active recipes: com.diffplug.spotless.openrewrite.SanityCheck Changes have been made to testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/main/java/com/diffplug/spotless/ReflectionUtil.java by: org.openrewrite.staticanalysis.HideUtilityClassConstructor Changes have been made to testlib/src/test/java/com/diffplug/spotless/PaddedCellTest.java by: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators Please review and commit the results. Estimate time saved: 15m ```
|
Don't spam. I'm not sure why you introduced OpenRewrite. You really shouldn't use the 'clean' everywhere. |



[rewrite] add
CodeCleanup