David Lloyd [
http://community.jboss.org/people/david.lloyd%40jboss.com] created the
discussion
"Re: Should we use 3 or 4 space indentation in our AS7 sources..."
To view the discussion, visit:
http://community.jboss.org/message/583372#583372
--------------------------------------------------------------
Four space indent, cuddled braces, wrap at about 130 columns:
public void methodName(String foo, String bar) {
if (foo.equals(bar)) {
System.out.println("Equals!");
} else {
System.out.println("Nope");
}
}
Otherwise just look around for examples when you have a question. There's a code
style thing for Eclipse in the AS7 repository somewhere.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/583372#583372]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]