You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Mark Roder <mr...@wamnet.com> on 2001/10/02 22:26:05 UTC

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