axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <bu...@us.ibm.com>
Subject RE: Q - code convention if with no {}
Date Wed, 03 Oct 2001 14:55:25 GMT
We should do our best to follow the Sun conventions, but I agree it's not a
major priority to fix our lapses.  As I'm fixing other things, if I notice
non-compliance, like missing {}'s, I fix it, but I'm not going out of my
way to fix them all.

Russell Butek
butek@us.ibm.com


Glen Daniels <gdaniels@macromedia.com> on 10/03/2001 09:25:10 AM

Please respond to axis-dev@xml.apache.org

To:   "'axis-dev@xml.apache.org'" <axis-dev@xml.apache.org>
cc:
Subject:  RE: Q - code convention  if with no {}




Axis does attempt to follow the Sun conventions, except we're in general a
little more lax about them.  The main things we really focus on are the
four-space-no-tabs indents and class/var naming.  We're less stringent thus
far about brace locations, etc.

I don't particularly mind if we move in the direction of greater compliance
with the standards, but I don't feel it's a major priority either.

--Glen


> -----Original Message-----
> From: Mark Roder [mailto:mroder@wamnet.com]
> Sent: Tuesday, October 02, 2001 4:26 PM
> To: 'axis-dev@xml.apache.org '
> Subject: Q - code convention if with no {}
>
>
>
> What are the code conventions of the axis project?
>
> The jakarta code conventions
> http://jakarta.apache.org/site/source.html
> state to use the conventions from sun.
> http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
>
> The Turbine project also lists conventions above and beyond the Sun
> conventions: http://jakarta.apache.org/turbine/code-standards.html
>
> I see if statements that do not have {} around single
> statements that follow
> it.   This is covered as a Note in section 7.4.
> http://java.sun.com/docs/codeconv/html/CodeConventions.doc6.html#449
>
> If the convention is to always use braces, this should be
> added to the TODO
> list.
>
> Thanks
>
> Mark
>



Mime
View raw message