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

From Dave Cramer
Subject Re: PgJDBC: code reformat
Date
Msg-id CADK3HHLDoBETXr+eUzc49qbHUGSkMhvjV-xggi+VuF9tHjhuxA@mail.gmail.com
Whole thread Raw
In response to Re: PgJDBC: code reformat  (Kevin Wooten <kdubb@me.com>)
Responses Re: PgJDBC: code reformat  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
List pgsql-jdbc




On 27 December 2015 at 10:31, Kevin Wooten <kdubb@me.com> wrote:

> On Dec 27, 2015, at 8:30 AM, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
>
>> I actually did NOT vote for "braces on new line". In fact I hate that style and always have opening braces on the SAME line
>
> Markus, sorry for misreading your vote.
>
> I've just opened
> http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-142311.html#449
> and it indeed suggests placing opening braces on the SAME line.
>
> In other words, two major guidelines (Sun & Google) suggest using the
> same style as pgdbc-ng does.
> Coincidence? I do not think so :)

As I said most people seem to prefer braces on same line. I'm fine with it, but it doesn't tend to read well.

 
>
> So, what if we borrow style from -ng project?

It comes with a free checkstyle config :)

I have no issues with using their config

>
> Kevin,
> Thanks for Eclipse hint.
>
> 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: Kevin Wooten
Date:
Subject: Re: PgJDBC: code reformat
Next
From: Vladimir Sitnikov
Date:
Subject: Re: PgJDBC: code reformat