-
Notifications
You must be signed in to change notification settings - Fork 16
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
Faulty mutator with Sealed interfaces since 6.20.0 version #713
Comments
Thanks for the report. I can reproduce it with a unitTest. |
Relates with javaparser/javaparser#3935, which workaround leads to a failure with the |
Underlying issue in JavaParser: javaparser/javaparser#4245 |
@cmauri75 I released a 2.18 version of cleanthat, which workaround this issue. Please force 2.18 as cleanthat version in Spotless (https:/diffplug/spotless/blob/main/plugin-gradle/README.md#cleanthat). |
Please re-open if this is not fixed with latest cleanthat release. |
Since 6.20 gradle spotlessapply fails when analyzing a sealed interface, this is the dum:
IUpdatePortCommand.java content is:
Formatting works fine with 6.19.0, affected versions are: 6.20 --> 6.23.3
Using:
Gradle 8.4
Build time: 2023-10-04 20:52:13 UTC
Revision: e9251e572c9bd1d01e503a0dfdf43aedaeecdc3f
Kotlin: 1.9.10
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 21.0.1 (Amazon.com Inc. 21.0.1+12-LTS)
OS: Mac OS X 14.1.2 aarch64
The text was updated successfully, but these errors were encountered: