Checkstyle 2.2 has been released:
-----------------------------------------------------------------------
Release 2.2
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).
New features:
added check for whitespace around '()'
added support for JDK 1.4 assert statements
added column number to error messages for better Emacs integration
added possibility to disable line-length checking by means of regular
expressions
added possibility to disallow import of package hierarchies, e.g. sun.*
added failureProperty to ANT task
added check for 'public' modifier in interface method declarations,
following the recommendation in chapter 9.4 of the Java Language
Specification
added -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
added 'contrib' directory, contains XSL stylesheets for formating
checkstyle's XML output (contributions by Ingmar Stein, Stephane
Bailliez, Scott McCrory and Gray Herter)
-----------------------------------------------------------------------
This is good news for we few jdk 1.4 developers as assert statements no
longer cause checkstyle to barf.
Attached are two patches, one for project.xml and one for jars.list.
Checkstyle 2.2 is avaiable vai http://jakarta.apache.org/turbine/jars
k.
Index: project.xml
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/project.xml,v
retrieving revision 1.77
diff -u -r1.77 project.xml
--- project.xml 10 May 2002 12:50:42 -0000 1.77
+++ project.xml 11 May 2002 03:18:54 -0000
@@ -367,8 +367,8 @@
<dependency>
<name>checkstyle</name>
<type>required</type>
- <version>2.1</version>
- <jar>checkstyle-2.1.jar</jar>
+ <version>2.2</version>
+ <jar>checkstyle-2.2.jar</jar>
<url>http://checkstyle.sourceforge.net/</url>
</dependency>
Index: project.xml
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/project.xml,v
retrieving revision 1.77
diff -u -r1.77 project.xml
--- project.xml 10 May 2002 12:50:42 -0000 1.77
+++ project.xml 11 May 2002 03:18:20 -0000
@@ -367,8 +367,8 @@
<dependency>
<name>checkstyle</name>
<type>required</type>
- <version>2.1</version>
- <jar>checkstyle-2.1.jar</jar>
+ <version>2.2</version>
+ <jar>checkstyle-2.2.jar</jar>
<url>http://checkstyle.sourceforge.net/</url>
</dependency>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>