[ovirt-devel] oVirt Engine checkstyle upgrade

Shmuel Melamud smelamud at redhat.com
Tue Mar 28 13:56:25 UTC 2017


Hi!

> Well, whenever I see:
>
>   class Foo {
>     int a;
>     void bar() {
>     }
>
>   }
>
> it hurts my eyes because there's no symmetry - whitespace before class
> declaration end, but no whitespace after class declaration start.

Yes. And the same in this case:

class Foo {

    int a;
    void bar() {
    }
}

Personally I'd like to force this symmetry with checkstyle rules, but
I know many don't agree with me ;)

Shmuel


More information about the Devel mailing list