axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Roder <mro...@wamnet.com>
Subject Q - code convention if with no {}
Date Tue, 02 Oct 2001 20:26:05 GMT

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