commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <ep...@upstate.com>
Subject RE: [configuration] Code conventions
Date Wed, 16 Jun 2004 17:25:07 GMT
I checked, and you can tell CheckStyle to fail things if there are
failures..  If we are going to do it, then let's do it whole hog and make
that part of the build..

What do you think..   Go with the sun standard?  (simplifies IDE's etc).

Eric

> -----Original Message-----
> From: Martin Cooper [mailto:martinc@apache.org]
> Sent: Wednesday, June 16, 2004 6:28 PM
> To: Jakarta Commons Developers List
> Subject: Re: [configuration] Code conventions
>
>
>
>
> On Wed, 16 Jun 2004, Emmanuel Bourg wrote:
>
> > There is no uniform code style in [configuration], most of the
> time the block
> > bracket is put on a new line, and sometimes it is found at the
> end of the
> > line like most other commons projects.
> >
> > What convention should we adopt? I have no personal preference.
>
> You can choose whatever coding standards you like for a particular
> component. Per the Commons Guidelines, the default is the Sun coding
> conventions. If you want to use something else, you need only document
> what you decide to use, so that others can follow it (and Checkstyle can
> be made to check it). See item 19 here:
>
> http://jakarta.apache.org/commons/charter.html#Guidelines
>
> --
> Martin Cooper
>
>
> >
> > Emmanuel Bourg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message