I recently asked a Java question and my usual coding style of:
class classname
{
}
was reformatted to
class classname {
}
Why do this? And the result wasn't consistent either: At the top, my enum was reformatted to:
enum someEnumName {
NAME1,
NAME2
}
and elsewhere was left in this form:
enum someEnumName
{
NAME1,
NAME2
}
...so I'm unclear as to what the rule is in this site. One of the moderators (or whatever you call them here) was listed as having done that, but was it part of an auto-formatting tool he used?