Re: PgJDBC: code reformat - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: PgJDBC: code reformat
Date
Msg-id CADK3HHLGRSzbWnbkwixGz2dregiBJJMSBtA9NaUt3eYC8RZ+cA@mail.gmail.com
Whole thread Raw
In response to Re: PgJDBC: code reformat  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: PgJDBC: code reformat  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Re: PgJDBC: code reformat  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
List pgsql-jdbc
There doesn't seem to be a significant difference between sun style and google style.
Personally I'd have a lot more whitespace than either of these styles.

I tend to break up multiple lines.

I prefer: if ()
             {
                 do something
             }

vs if(){
         do something
     }


but it would appear this is not generally accepted.

At the end of the day I'd vote

0 as well unless I could get enough support behind more whitespace



On 27 December 2015 at 04:04, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
I've fixed remaining errors: https://github.com/pgjdbc/pgjdbc/tree/format_code

Vladimir


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: PgJDBC: code reformat
Next
From: Vladimir Sitnikov
Date:
Subject: Re: PgJDBC: code reformat