yep, at least the _foo on private is useless. This convention should only be used to have protected/public methods marked as "library private" I think.
Mario -----Original Message----- From: "Matthias Wessendorf" <[EMAIL PROTECTED]> Date: Friday, Sep 28, 2007 6:11 pm Subject: Re: [jira] Commented: (JSR301-2) Coding Standards: This project should adopt coding standards similar to MyFaces for consistancy To: Reply- "MyFaces Development" <[email protected]>To: "MyFaces Development" <[email protected]> Personally, I like a combination of the Trinidad and MyFaces "guide" > >private void foo() >{ > //bla; >} > >instead of >private void _foo() >{ > //bla; >} > >or >private void foo() { > //bla; >} > >:-) >On 9/28/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: > There is a myfaces eclipse XML file for formatting the java source, > but I can't find it at the moment (It uses 4 spaces for indentation, > which I think is excessive). I can't remember where I found it though, > it was referenced from some committer information page. > >> On 9/28/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > > I haven't really followed such an interesting topic in the past, so > > here is my question: > > Is there any "apache coding standard" thing ? Or is for all "Apache > > Java efforts" the SUN paperworks the one to go ? > > > > -M > > > > On 9/28/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > There have been a lot of discussions on coding conventions here at > > > > MyFaces. I don't think we've reached an agreement so far ;) > > > > > > > > > > >>> * indentation is 2 spaces with no "tabs" > > > >>> > > > I'd say two spaces are too much, one space should be sufficient. > > > > > > ;-) Just kidding. > > > > > > > > > Honestly, if we warm up this discussion I think it would be best to > > > simply stick with the SUN propsed [1] one - even if I don't like them > > > that much (e.g. I like the opening brace on the next like) I've found > > > that many other developer use them (or a derivate) and also newbies are > > > used to them. > > > > > > Ciao, > > > Mario > > > > > > [1] http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html > > > > > > > > > > > > -- > > Matthias Wessendorf > > > > further stuff: > > blog: http://matthiaswessendorf.wordpress.com/ > > mail: matzew-at-apache-dot-org > > > > > >-- >Matthias Wessendorf > >further stuff: >blog: http://matthiaswessendorf.wordpress.com/ >mail: matzew-at-apache-dot-org > >
