Benad's Web Site

Here's a quick entry about two tools I found about the coding style you use when writing Java code.

First, if you're code syntax is getting messy, or you're stuck having to maintain code from someone with complete lack of coding style, you can use Jalopy. It has tons of options and the latest beta supports Java 1.5 syntax too! Look for the NetBeans plugin at http://contrib.netbeans.org/ if you want to use it with a GUI.

Second, if you want to verify that some Java code adheres to some syntax, including the way variables, classes and functions are named, you can use Checkstyle. This can be important if your library's external interface shouldn't look like a mess...

Published on October 4, 2005 at 17:26 EDT

Older post: JavaCast is now The Java Posse

Newer post: Swing GUIs and Functional Testing