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
Actually, when think about it, I prefer the two-line version (with closing brace on separate line) for empty types. It makes the diff have less impact when a member gets added later.
The Google Java Style says the single-line variant is optional, so maybe google-java-format could output the two-line variant consistently for empty types, if you agree it is nicer?
The code
is formatted by google-java-format to
and if it is run again on the result the output of the second run is
I think this should be done in one step. It occurred originally for me on an annotation with no members.
The text was updated successfully, but these errors were encountered: