Hi, I was trying to make a patch and looking over the Hadoop guidelines for code at http://wiki.apache.org/hadoop/CodeReviewChecklist, trying to follow the conventions.
Looking through code I found a few "patterns", however, these differ even in the same class sometimes. Here's a collection of method declaration styles I gathered from 2 or 3 files: http://pastie.org/707389 I have to admit Sun's code conventions are a bit unclear too, so maybe a list of settings for the IDE like tab size, indent, continuation indent, exceptions to the rule, etc. would help. Cosmin