Re: PgJDBC: code reformat
От | Dave Cramer |
---|---|
Тема | Re: PgJDBC: code reformat |
Дата | |
Msg-id | CADK3HHLDoBETXr+eUzc49qbHUGSkMhvjV-xggi+VuF9tHjhuxA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PgJDBC: code reformat (Kevin Wooten <kdubb@me.com>) |
Ответы |
Re: PgJDBC: code reformat
|
Список | 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 по дате отправления: