commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Maisonobe <>
Subject Re: checkstyle.xml
Date Mon, 25 Aug 2008 16:52:37 GMT
frederic heem a écrit :
> Hi,
> Is there a checkstyle.xml that conforms to the apache coding style ? That
> would be very useful to automatically check the coding style before
> commiting it. A patch is about to be sent but the coding style conforms to
> the Sun standard and therefore does not comply with apache one. By the way,
> why are they different ?
> Best regards.
> Frederic Heem

Common components do not exactly share the same style. There are some
basic general rules (for example no tab characters), but when it comes
to fine details, discrepancies appear.

You can for example look at commons-math (the checkstyle.xml from branch
2.0 is more recent than the one in the trunk) or even at nabla (in
sandbox) which has a rather strict setting.

In addition to style, one important thing to check is that the end of
line encoding property for subversion is set to "native". This is of
prime importance since all developers do not use the same operating systems.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message