We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Indention of implements becomes 0, but should be +4 (as it is line wrap) from 0, so 4.
implements
$ cat Test.java /** Tetsing. */ public class Test // comment implements Runnable, Cloneable { } $ java -jar google-java-format-1.23.0-all-deps.jar Test.java > TestUpdated.java $ diff -u Test.java TestUpdated.java --- Test.java 2024-07-31 06:29:22.086232824 -0700 +++ TestUpdated.java 2024-07-31 06:33:39.001224613 -0700 @@ -1,5 +1,3 @@ /** Tetsing. */ public class Test // comment - implements Runnable, Cloneable { - -} +implements Runnable, Cloneable {} $ cat TestUpdated.java /** Tetsing. */ public class Test // comment implements Runnable, Cloneable {}
Workaround is to remove trailing comment but better to handle/format it eventually in proper way.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Indention of
implements
becomes 0, but should be +4 (as it is line wrap) from 0, so 4.Workaround is to remove trailing comment
but better to handle/format it eventually in proper way.
The text was updated successfully, but these errors were encountered: