[logback-dev] format of try-catch statements

ceki ceki at qos.ch
Thu May 2 23:43:28 CEST 2013


On 02.05.2013 16:12, Harris, Carl wrote:
>> I see that you adhere to the "standard" Java code formatting conventions [1] except for try-catch statements (section 7.9). Would be OK if I re-format non-conforming source files as I go along?


 > I should apologize.  I thought I had enabled a formatter profile in
 > Eclipse that used the Sun/Oracle conventions, but I see now that I did
 > not.
 >
 > Personally, I'm a disciple of the so-called Lonely Right Brace style.
 > It adds whitespace, but we disciples of this style find it aids
 > readability, and we (somewhat fervently) believe that Sun got it
 > wrong.
 >
 > In any case, I think it is far more important to follow the
 > established conventions of the project, and I'll fix my formatter
 > profile and checkstyle settings for logback.

Thank you for your message. Much appreciated.

 > carl

-- 
Ceki
65% of statistics are made up on the spot


More information about the logback-dev mailing list