Re: PgJDBC: code reformat

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Kevin Wooten <kdubb(at)me(dot)com>
Cc: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>, Markus KARG <markus(at)headcrashing(dot)eu>, List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: PgJDBC: code reformat
Date: 2015-12-27 15:52:06
Message-ID: CADK3HHLDoBETXr+eUzc49qbHUGSkMhvjV-xggi+VuF9tHjhuxA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 27 December 2015 at 10:31, Kevin Wooten <kdubb(at)me(dot)com> wrote:

>
> > On Dec 27, 2015, at 8:30 AM, Vladimir Sitnikov <
> sitnikov(dot)vladimir(at)gmail(dot)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

Dave Cramer

davec(at)postgresintl(dot)com
www.postgresintl.com

> >
> > Kevin,
> > Thanks for Eclipse hint.
> >
> > Vladimir
> >
> >
> > --
> > Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-jdbc
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2015-12-27 16:57:07 Re: PgJDBC: code reformat
Previous Message Kevin Wooten 2015-12-27 15:31:40 Re: PgJDBC: code reformat