Always initialize variables. If you want to be a perfectionist, left-align variable names. Indent the case clauses in a switch block. Put whitespace before and after operators. Use whitespace and parentheses in expressions to increase readability.
Variables used in 'for' loops are the exception to putting variables at the beginning of a block.
Putting a comment at the end of a block can help you track down accidentally deleted closing braces. Finding those in a large source file can sometimes drive you nearly crazy. Bad Block Style. Good Block Style. The Ambysoft Inc. Coding Standards for Java , Scott Ambler.