Fixed compilation error with JDK 1.4 (It doesn't like things like "count++;;") Fixed some checkstyle errors (Javadocs left open)