ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Burn <>
Subject Checkstyle 2.3 released
Date Mon, 08 Jul 2002 11:25:27 GMT
Announcing release of 2.3 of Checkstyle is available at:


What is it?

Checkstyle is a development tool to help programmers write Java code
that adheres to a coding standard. Its purpose is to automate the
process of checking Java code, and to spare humans of this boring (but
important) task.  Checkstyle can be run via an ANT task (recommended)
or a command line utility.

Third-party plug-ins are available for Maven, jEdit, NetBeans,
Centipede, JBuilder, Eclipse/WSAD, Emacs JDE.

New features:

  - Support checking to determine if an unused @throws exception is a
    subclass of java.lang.RuntimeException
  - Detect instantiations of classes that should not be instantiated
    (e.g. java.lang.Boolean)
  - Added ability to specify the base directory for reporting file
  - Check for line wrapping on operators
  - Detect empty try blocks
  - Detect empty catch blocks
  - Detect empty finally blocks
  - Detect to-do comments
  - Detect use of lowercase l ("ell") in long integer literals
  - Include column number in the XML output
  - Added ability to specify a properties file on the command line
  - Check for whitespace around "{" and "}"
  - Fix Javadoc errors under JDK 1.4 (request 568553)
  - Detect redundant abstract modifier in interfaces
  - Support running Checkstyle using the -jar option

Resolved bugs:

  - Better error reporting for missing properties files
  - Ant task now logs style violations as errors

API changes (only relevant for IDE plugin authors):

  - The get/setOutputStream methods have been removed from the
    AuditListener interface. The XMLLogger and DefaultLogger
    implementations now expect OutputStreams to be provided as a
    constructor argument.
  - The DefaultLogger now differentiates between info messages
    ("started checking file ...", etc.) and error messages (style
    errors found by checkstyle).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message