Java Code Formatting

Ah, a religous issue. The most important things are to be consistent (an editor that indents code for you is helpful) and to conform to the existing style when editting someone else's code.

Tapestry is formatted using spaces (not tabs), and an indent of four.

All the code currently in the repository has been formatted using the Eclipse IDE. My personal preference is to include a newline before opening braces. In addition, a maximum line-length of 100 characters has been used. These preferences are easy to setup in Eclipse:

Figure 4.2. Eclipse: Java Code Formatting Preferences

Eclipse: Java Code Formatting Preferences