We do have a stated coding style policy:

http://struts.apache.org/releases.html#Coding

Which has a reference to the Jakarta Project Guidelines

http://jakarta.apache.org/site/source.html

Which points to Sun's "Code Conventions for the Java Programming Language"

http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html

The sections that seem relevant are the ones on parenthesis and return
statements:

http://java.sun.com/docs/codeconv/html/CodeConventions.doc6.html#438
http://java.sun.com/docs/codeconv/html/CodeConventions.doc9.html#331

which are against this style.

Niall

----- Original Message ----- 
From: "Leon Rosenberg" <[EMAIL PROTECTED]>
Sent: Wednesday, September 14, 2005 4:53 PM


Hi,

looking over the source of jakarta projects I noticed the usage of a coding
style, which i never saw before:

/**
* Return the descriptive short name of this Manager implementation.
*/
public String getName() {
return (nameBug);
}

could you explain me what the parenthisis (nameBug) are for?
Is there a code style guide somewhere you are following? Just out of
interest I'd like to see that.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to