Announcing release of 2.2 of Checkstyle is available at:
http://checkstyle.sourceforge.net/
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.
New features:
=============
- check for whitespace around '()'
- support for JDK 1.4 assert statements
- column number to error messages for better Emacs integration
- possibility to disable line-length checking by means of regular expressions
- possibility to disallow import of package hierarchies, e.g. sun.*
- failureProperty to ANT task
- check for 'public' modifier in interface method declarations, following the
recommendation in chapter 9.4 of the Java Language Specification
- -r "dir" option to the commandline frontend, checkstyle will find all Java
files contained in the specified directory
- incorporated patch from Warner Onstine to configure the ANT task by means of
a property file
- 'contrib' directory, contains XSL stylesheets for formating checkstyle's XML
output (contributions by Ingmar Stein, Stephane Bailliez, Scott McCrory and
Gray Herter)
Resolved bugs:
==============
- The cache was not invalidated upon parameter change (Bug 522282).
- Tabs were not counted correctly in line length checks (Bug 524671).
- Problem when a Checker could not be created (Bug 528358).
- The documentation of the command line property names did not list the
property checkstyle.allow.tabs (Bug 529975).
- The default regular expression for constant names allowed consecutive '_'
characters to occur (Bug 540358).
- Checkstyle reported unused @throws tag for multiple declarations of the same
Exception. According to the Java BugParade this is incorrect, multiple
@throws tags for the same exception are OK (Bug 540384).
Regards,
Oliver
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>