You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@George-zqq This is expected behavior. For wildcard imports, powermock imports, junit4 imports, running mvn spotless:apply will directly remove related code. To avoid this, run mvn spotless:check ahead, fix wildcard imports with your IDE, then run mvn spotless:apply to fix the rest.
Search before asking
What happened
maven-spotless plugin make some codes deleted
What you expected to happen
when i build project , cause some error about spotless , and advice to run "mvn spotless:apply" first . The follow is some codes has been deleted
Then compare the source and after spotless format
How to reproduce
Anything else
No response
Version
3.1.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: