<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-2377</id>
	<title>Nabble - CheckStyle</title>
	<updated>2008-10-10T01:19:07Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/CheckStyle-f2377.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CheckStyle-f2377.html" />
	<subtitle type="html">Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard. Checkstyle is highly configurable and can be made to support almost any coding standard. An example configuration file is supplied supporting the Sun Code Conventions. As well, other sample configuration files are supplied for other well known conventions. CheckStyle home is &lt;a href=&quot;http://checkstyle.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19913962</id>
	<title>[ checkstyle-Bugs-2155288 ] resource checkstyletask.properties</title>
	<published>2008-10-10T01:19:07Z</published>
	<updated>2008-10-10T01:19:07Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2155288, was opened at 2008-10-09 17:36
&lt;br&gt;Message generated for change (Comment added) made by marcbeckers
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: ANT Task
&lt;br&gt;Group: release 4.4
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Marc Beckers (marcbeckers)
&lt;br&gt;Assigned to: Oliver Burn (oburn)
&lt;br&gt;Summary: resource checkstyletask.properties
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;I have written a custom check and put it in a jar. When I run the check in NetBeans with the Checkstyle Beans plugin it all works well, but when I run it with Ant I get the following error:
&lt;br&gt;&lt;br&gt;Could not load definitions from resource checkstyletask.properties. It could not be found.
&lt;br&gt;C:\MyData\LocalSubversionWorkingCopy\bla\trunk\projects\BLA\autobuild.xml:43: Problem: failed to create task or type checkstyle
&lt;br&gt;Cause: The name is undefined.
&lt;br&gt;Action: Check the spelling.
&lt;br&gt;Action: Check that any custom tasks/types have been declared.
&lt;br&gt;Action: Check that any &amp;lt;presetdef&amp;gt;/&amp;lt;macrodef&amp;gt; declarations have taken place.
&lt;br&gt;&lt;br&gt;But the file checkstyletask.properties is available in the checkstyle-all-4.4.jar.
&lt;br&gt;&lt;br&gt;What am I doing wrong? Please help me!
&lt;br&gt;&lt;br&gt;Snippet from build.xml:
&lt;br&gt;&lt;br&gt;&amp;lt;target name=&amp;quot;checkstyle&amp;quot; depends=&amp;quot;init, compile&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;mkdir dir=&amp;quot;${build.checkstyle.dir}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;taskdef resource=&amp;quot;checkstyletask.properties&amp;quot; classpath=&amp;quot;${lib.dir}/autobuild/checkstyle/*.jar&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;checkstyle config=&amp;quot;${lib.dir}/autobuild/checkstyle/mychecks.xml&amp;quot; failonviolation=&amp;quot;false&amp;quot; classpath=&amp;quot;${lib.dir}/autobuild/checkstyle/*.jar&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;formatter type=&amp;quot;xml&amp;quot; tofile=&amp;quot;${build.checkstyle.dir}/checkstyle.xml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fileset dir=&amp;quot;${src.dir}&amp;quot; includes=&amp;quot;**/*.java&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;classpath path=&amp;quot;${build.classes.dir};&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/checkstyle&amp;gt;
&lt;br&gt;&amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Marc Beckers (marcbeckers)
&lt;br&gt;Date: 2008-10-10 10:19
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;I have fixed the problem by adding a path element:
&lt;br&gt;&lt;br&gt;&amp;lt;path id=&amp;quot;checkstyle.classpath&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;fileset dir=&amp;quot;${lib.dir}/autobuild/checkstyle&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;include name=&amp;quot;*.jar&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/fileset&amp;gt;
&lt;br&gt;&amp;lt;/path&amp;gt;
&lt;br&gt;&lt;br&gt;and changing the taskdef element:
&lt;br&gt;&lt;br&gt;&amp;lt;taskdef resource=&amp;quot;checkstyletask.properties&amp;quot;
&lt;br&gt;classpathref=&amp;quot;checkstyle.classpath&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;Apologizes!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19913962&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Bugs-2155288---resource-checkstyletask.properties-tp19913962p19913962.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19901499</id>
	<title>[ checkstyle-Bugs-2155288 ] resource checkstyletask.properties</title>
	<published>2008-10-09T08:36:53Z</published>
	<updated>2008-10-09T08:36:53Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2155288, was opened at 2008-10-09 17:36
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: ANT Task
&lt;br&gt;Group: release 4.4
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Marc Beckers (marcbeckers)
&lt;br&gt;Assigned to: Oliver Burn (oburn)
&lt;br&gt;Summary: resource checkstyletask.properties
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;I have written a custom check and put it in a jar. When I run the check in NetBeans with the Checkstyle Beans plugin it all works well, but when I run it with Ant I get the following error:
&lt;br&gt;&lt;br&gt;Could not load definitions from resource checkstyletask.properties. It could not be found.
&lt;br&gt;C:\MyData\LocalSubversionWorkingCopy\bla\trunk\projects\BLA\autobuild.xml:43: Problem: failed to create task or type checkstyle
&lt;br&gt;Cause: The name is undefined.
&lt;br&gt;Action: Check the spelling.
&lt;br&gt;Action: Check that any custom tasks/types have been declared.
&lt;br&gt;Action: Check that any &amp;lt;presetdef&amp;gt;/&amp;lt;macrodef&amp;gt; declarations have taken place.
&lt;br&gt;&lt;br&gt;But the file checkstyletask.properties is available in the checkstyle-all-4.4.jar.
&lt;br&gt;&lt;br&gt;What am I doing wrong? Please help me!
&lt;br&gt;&lt;br&gt;Snippet from build.xml:
&lt;br&gt;&lt;br&gt;&amp;lt;target name=&amp;quot;checkstyle&amp;quot; depends=&amp;quot;init, compile&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;mkdir dir=&amp;quot;${build.checkstyle.dir}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;taskdef resource=&amp;quot;checkstyletask.properties&amp;quot; classpath=&amp;quot;${lib.dir}/autobuild/checkstyle/*.jar&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;checkstyle config=&amp;quot;${lib.dir}/autobuild/checkstyle/mychecks.xml&amp;quot; failonviolation=&amp;quot;false&amp;quot; classpath=&amp;quot;${lib.dir}/autobuild/checkstyle/*.jar&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;formatter type=&amp;quot;xml&amp;quot; tofile=&amp;quot;${build.checkstyle.dir}/checkstyle.xml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fileset dir=&amp;quot;${src.dir}&amp;quot; includes=&amp;quot;**/*.java&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;classpath path=&amp;quot;${build.classes.dir};&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/checkstyle&amp;gt;
&lt;br&gt;&amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2155288&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19901499&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Bugs-2155288---resource-checkstyletask.properties-tp19901499p19901499.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19888061</id>
	<title>[ checkstyle-Feature Requests-2123015 ] Reports with relative filenames</title>
	<published>2008-10-08T14:34:33Z</published>
	<updated>2008-10-08T14:34:33Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Feature Requests item #2123015, was opened at 2008-09-22 10:55
&lt;br&gt;Message generated for change (Comment added) made by kajsaanderson
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2123015&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2123015&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Florian (iflo)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Reports with relative filenames
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Currently a report generated by a command line call contains error messages with absolute filenames:
&lt;br&gt;e.g. &amp;quot;/tmp/checkstyleRun6928601/src/main/java/my/package/Example.java:0:0 something is wrong&amp;quot;
&lt;br&gt;&lt;br&gt;It would be cool if one could specify a directory to which filenames are made relative to. For example this could be done by the user by adding the following two arguments to the command line:
&lt;br&gt;--filenamesRelativeTo /tmp/checkstyleRun6928601/
&lt;br&gt;&lt;br&gt;This should result in error messages with relative filenames:
&lt;br&gt;&amp;quot;src/main/java/my/package/Example.java:0:0 something is wrong&amp;quot; as error message.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Kajsa Anderson (kajsaanderson)
&lt;br&gt;Date: 2008-10-08 16:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;I use this workaround in my Ant build, between the checkstyle task and the
&lt;br&gt;xslt task that creates the report:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- shorten absolute path --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;replace file=&amp;quot;${stylereport.dir}/style_report.xml&amp;quot; token=&amp;quot;${src}&amp;quot;
&lt;br&gt;value=&amp;quot;...&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;But I agree that it would be a nice feature.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2123015&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2123015&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19888061&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Feature-Requests-2123015---Reports-with-relative-filenames-tp19888061p19888061.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19860624</id>
	<title>[ checkstyle-Patches-2151774 ] Update the Maven dependencies.</title>
	<published>2008-10-07T08:19:29Z</published>
	<updated>2008-10-07T08:19:29Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #2151774, was opened at 2008-10-07 17:19
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151774&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151774&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Florian (iflo)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Update the Maven dependencies.
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This patch updates the maven dependencies of checkstyle.
&lt;br&gt;It also increases the maven version number from 4.4-SNAPSHOT to 5.0-SNAPSHOT.
&lt;br&gt;&lt;br&gt;off topic: Is there generally any interests in supporting maven as a build tool for your project? I tried to change the pom.xml so that can compile the project with maven. I got the compilation working but 20 out of the 538 unit tests still fail when I execute the tests with maven. If you aren't interested in using maven as build tool I will not look in the matter further.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151774&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151774&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19860624&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Patches-2151774---Update-the-Maven-dependencies.-tp19860624p19860624.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19859645</id>
	<title>[ checkstyle-Patches-2151706 ] Do not require a file, when the user uses the option &quot;-r&quot;.</title>
	<published>2008-10-07T07:36:56Z</published>
	<updated>2008-10-07T07:36:56Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #2151706, was opened at 2008-10-07 16:36
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151706&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151706&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Florian (iflo)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Do not require a file, when the user uses the option &amp;quot;-r&amp;quot;.
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;The command line version of checkstyle offers a &amp;quot;-r&amp;quot; option. If the directory specified with &amp;quot;-r&amp;quot; is empty, checkstyle will print:
&lt;br&gt;&amp;quot;Must specify files to process&amp;quot; followed by a usage explanation.
&lt;br&gt;&lt;br&gt;I think this is a small bug, because a user who specifies &amp;quot;-r&amp;quot; did not forget to specify which files should be checked.
&lt;br&gt;&lt;br&gt;I have such a case that I have a directory which might contain files to check. I don't want checkstyle to fail if there are no files in that directory.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151706&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397080&amp;aid=2151706&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19859645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Patches-2151706---Do-not-require-a-file%2C-when-the-user-uses-the-option-%22-r%22.-tp19859645p19859645.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19838050</id>
	<title>[ checkstyle-Bugs-2127437 ] suppressions dtd</title>
	<published>2008-10-06T06:33:18Z</published>
	<updated>2008-10-06T06:33:18Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2127437, was opened at 2008-09-24 18:52
&lt;br&gt;Message generated for change (Comment added) made by victormote
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Documentation
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Victor Mote (victormote)
&lt;br&gt;Assigned to: Oliver Burn (oburn)
&lt;br&gt;Summary: suppressions dtd
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;The web site (config.html#Filters) includes the following example of using an &amp;quot;id&amp;quot; to suppress a check:
&lt;br&gt;&lt;br&gt;&amp;lt;suppress id=&amp;quot;stringEqual&amp;quot; files=&amp;quot;SomeTestCode.java&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;However, the DTD reference for the &amp;quot;suppressions&amp;quot; document points to a version 1_0, which does not allow the &amp;quot;id&amp;quot; attribute. Perhaps the documentation should provide a reference to version 1_1, which does support this attribute.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Victor Mote (victormote)
&lt;br&gt;Date: 2008-10-06 07:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Hi Oliver:
&lt;br&gt;&lt;br&gt;The page is here:
&lt;br&gt;&lt;a href=&quot;http://checkstyle.sourceforge.net/config.html#Filters&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://checkstyle.sourceforge.net/config.html#Filters&lt;/a&gt;&lt;br&gt;&lt;br&gt;Search for this text:
&lt;br&gt;&amp;quot;DTD Suppressions 1.0&amp;quot;
&lt;br&gt;&lt;br&gt;or:
&lt;br&gt;&amp;quot;&lt;a href=&quot;http://www.puppycrawl.com/dtds/suppressions_1_0.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puppycrawl.com/dtds/suppressions_1_0.dtd&lt;/a&gt;&amp;quot;
&lt;br&gt;&lt;br&gt;I hope this helps.
&lt;br&gt;&lt;br&gt;Victor Mote
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Oliver Burn (oburn)
&lt;br&gt;Date: 2008-10-05 22:14
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Hi - I cannot find the reference to version 1_0 -- can you please paste the
&lt;br&gt;exact text in so I can find it.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19838050&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Bugs-2127437---suppressions-dtd-tp19838050p19838050.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19834769</id>
	<title>TR: Is the project interested in the following rules ?</title>
	<published>2008-10-06T02:11:31Z</published>
	<updated>2008-10-06T02:11:31Z</updated>
	<author>
		<name>Michel Pawlak</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;In the scope of the development of a quality platform project, we are
&lt;br&gt;implementing some checkstyle 4.4 checks to verify the rules of our
&lt;br&gt;development / architecture standards. Now I'm writing the following
&lt;br&gt;email to the list in order to ask if the checkstyle project would be
&lt;br&gt;interested in them. 
&lt;br&gt;&lt;br&gt;One of the main feature of these checks is that they are completely
&lt;br&gt;configurable and generic. Indeed, we wanted to have adaptable checks
&lt;br&gt;allowing us to make evolve our quality standards without having to
&lt;br&gt;redevelop the checks, and we also wanted to enable anybody to adapt them
&lt;br&gt;to their precise needs without having to follow our own standards. By
&lt;br&gt;&amp;quot;anybody&amp;quot; we meant the checkstyle users community ;-)
&lt;br&gt;&lt;br&gt;Here follows a description of the checks :
&lt;br&gt;&lt;br&gt;===
&lt;br&gt;1. Type names verification
&lt;br&gt;&lt;br&gt;We use this check to verify that types respect the naming standard which
&lt;br&gt;are in place. For instance we want that all Exceptions end with
&lt;br&gt;&amp;quot;Exception&amp;quot;, all interfaces end with &amp;quot;Able&amp;quot;, all formbeans start with
&lt;br&gt;&amp;quot;Fb&amp;quot;, etc. Instead of writing a check for each rule, we wrote a single
&lt;br&gt;check that can be configured as follows :
&lt;br&gt;&lt;br&gt;a. must the rule be applied to interfaces or to classes ?
&lt;br&gt;b. must the verification occur only if the type is an instance of a
&lt;br&gt;given base type (for instance only to subclasses of
&lt;br&gt;&amp;quot;java.lang.Exception&amp;quot;) or must it be always applied (for instance it
&lt;br&gt;must be applied to all interfaces)
&lt;br&gt;c. what is the text that must be be present (for instance &amp;quot;Able&amp;quot;,
&lt;br&gt;&amp;quot;Exception&amp;quot;)
&lt;br&gt;d. where must it be present (prefix or suffix) ?
&lt;br&gt;&lt;br&gt;===
&lt;br&gt;2. Package root 
&lt;br&gt;&lt;br&gt;We use this simple check to verify that all projects use a correct
&lt;br&gt;package root. (for instance, in our organization, all packages must
&lt;br&gt;start with &amp;quot;ch.ge.&amp;quot; and packages names should include information about
&lt;br&gt;the department and project they are part of. Thus, packages part of
&lt;br&gt;project &amp;quot;b&amp;quot; of department &amp;quot;a&amp;quot;, should be prefixed &amp;quot;ch.ge.a.b.&amp;quot;)
&lt;br&gt;&lt;br&gt;===
&lt;br&gt;3. Package dependencies - In a context where we use package names to
&lt;br&gt;represent architecture layers, we needed a rule allowing us to define
&lt;br&gt;what package dependencies (calls from package A to package B) are
&lt;br&gt;forbidden. We develped thus a check enabling us to check that each layer
&lt;br&gt;is correctly isolated from other layers. 
&lt;br&gt;&lt;br&gt;In this check, all dependencies are described using regular expressions,
&lt;br&gt;which allows us to extend the verification at will (for instance to add
&lt;br&gt;new layers, or to adapt the check to projects having used another naming
&lt;br&gt;scheme for layers (for legacy projects for instance)).
&lt;br&gt;&lt;br&gt;To give you an idea of what we can do with this rule, as attachement you
&lt;br&gt;can find an example of verifications we are currently doing. This shows
&lt;br&gt;what the check allows us to verify and what we currently cannot verify.
&lt;br&gt;Plea &amp;lt;&amp;lt;checks.pdf&amp;gt;&amp;gt; se note that all these verifications are done by
&lt;br&gt;instanciating the generic rule only 5 times.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;The rule can be configured as follows :
&lt;br&gt;a. the package to which the rule must be applied (the layer to be
&lt;br&gt;verified) as a regexp 
&lt;br&gt;b. the imports that are forbidden as a regexp
&lt;br&gt;c. a switch to ignore the rule if the checked type is already in a
&lt;br&gt;&amp;quot;forbidden&amp;quot; package (this allows us to have rules that say that &amp;quot;no
&lt;br&gt;class can import a class from package B or its subpackages, unless the
&lt;br&gt;class is from package B or its subpackages&amp;quot;
&lt;br&gt;&lt;br&gt;==
&lt;br&gt;4. Dependency cycles detection - This check aims at detecting dependency
&lt;br&gt;cycles between components. Such cycles are difficult to detect by hand
&lt;br&gt;and impede the maintainablity and evolvability of the code. To represent
&lt;br&gt;components we use regular expressions on packages.
&lt;br&gt;&lt;br&gt;Currently, the check simply outputs cycles as logs &amp;quot;component A -&amp;gt;
&lt;br&gt;component B -&amp;gt; component C -&amp;gt; component A&amp;quot; (for instance). In the
&lt;br&gt;future, I plan to improve it to provide more information to help break
&lt;br&gt;these cycles. Two parameters are available : 
&lt;br&gt;a. the regexp allowing to detect components (for instance, if a package
&lt;br&gt;has a subpackage named &amp;quot;api&amp;quot; then it is a component)
&lt;br&gt;b. the regexp specifying the packages which have to be scanned for
&lt;br&gt;cycles (for instance if we want to scan only a given set of components)
&lt;br&gt;&lt;br&gt;If you need any more information feel free to ask :-)
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Michel Pawlak
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Checkstyle-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19834769&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;checks.pdf&lt;/strong&gt; (13K) &lt;a href=&quot;http://www.nabble.com/attachment/19834769/0/checks.pdf&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---User-f2379.html&quot; embed=&quot;fixTarget[2379]&quot; target=&quot;_top&quot; &gt;CheckStyle - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/TR%3A-Is-the-project-interested-in-the-following-rules---tp19834769p19834769.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19831841</id>
	<title>[ checkstyle-Bugs-1435289 ] HTML Comments in JavaDoc cause incorrect &lt;tag&gt; parsing</title>
	<published>2008-10-05T21:31:02Z</published>
	<updated>2008-10-05T21:31:02Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #1435289, was opened at 2006-02-21 02:56
&lt;br&gt;Message generated for change (Comment added) made by oburn
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=1435289&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=1435289&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Core Framework
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Phil Riley (rileypb)
&lt;br&gt;Assigned to: Oliver Burn (oburn)
&lt;br&gt;Summary: HTML Comments in JavaDoc cause incorrect &amp;lt;tag&amp;gt; parsing
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;The following javadoc is incorrectly parsed:
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Create a new Event with the given parameters. &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;P&amp;gt;Will accept the parameters: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;ol&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;latency&amp;lt;/strong&amp;gt;: optional, &amp;lt;!-- &amp;gt;=
&lt;br&gt;--&amp;gt;&amp;#8805; 0, defaults to zero if trigger time is also
&lt;br&gt;omitted.&amp;lt;/li&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;trigger time&amp;lt;/strong&amp;gt;: optional,
&lt;br&gt;&amp;lt;!-- &amp;gt;= --&amp;gt;&amp;#8805;, defaults to posting time if latency
&lt;br&gt;is also omitted.&amp;lt;/li&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;posting time&amp;lt;/strong&amp;gt;: required.&amp;lt;/li&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;/ol&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;/p&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param type event type
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param source event source
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param target event target(s)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param params event parameters
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&lt;br&gt;&lt;br&gt;Checkstyle reports the following warning:
&lt;br&gt;&amp;quot;Unclosed HTML tag found: &amp;lt;ol&amp;gt;&amp;quot;
&lt;br&gt;&lt;br&gt;Only removing the &amp;quot;&amp;lt;!--&amp;quot; comments seems to fix the problem.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Oliver Burn (oburn)
&lt;br&gt;Date: 2008-10-06 15:31
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Ouch - I see what you mean. This is hard problem, and you could also get
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* @return Map&amp;lt;String, List&amp;lt;String&amp;gt;&amp;gt; a map indexed on String of Lists of
&lt;br&gt;Strings.
&lt;br&gt;&amp;nbsp;**/
&lt;br&gt;&lt;br&gt;And of course it is legal to use Generics in all sorts of places.
&lt;br&gt;&lt;br&gt;I guess I now like your first suggestion of only checking certain tags.
&lt;br&gt;This could be a parameter that defaults to &amp;quot;p,li,ul,code,tt,b,i&amp;quot;. This has
&lt;br&gt;a lot merit as a simple workable solution.
&lt;br&gt;&lt;br&gt;Attempting to fully parse Javadoc comments is a huge job.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Rmy-Christophe Schermesser (rschermesser)
&lt;br&gt;Date: 2008-09-23 22:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Yes, that seems a good idea, but what about comments like this one ?
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* @return List&amp;lt;String&amp;gt; return a List of Strings
&lt;br&gt;&amp;nbsp;*
&lt;br&gt;&amp;nbsp;**/
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Oliver Burn (oburn)
&lt;br&gt;Date: 2008-09-23 22:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Tough one. I would suggest to ignore &amp;lt;&amp;gt;'s when inside a set of {@...}'s.
&lt;br&gt;E.g. when getting {@code List&amp;lt;String&amp;gt;} - ignore the &amp;lt;String&amp;gt;. Equally, when
&lt;br&gt;get a &amp;lt;!-- ... --&amp;gt; ignore everything in between.
&lt;br&gt;&lt;br&gt;I'd agree that attempting to determine if what is between &amp;lt;&amp;gt;'s is a class
&lt;br&gt;is not the way to go.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Rmy-Christophe Schermesser (rschermesser)
&lt;br&gt;Date: 2008-09-23 02:44
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I am willing to fix this issue, but I am not sure whow to fix it.
&lt;br&gt;&lt;br&gt;I have found 2 possible ways to fix it :
&lt;br&gt;&lt;br&gt;- Allow only some specific HTML tags in the javadoc.
&lt;br&gt;- Check if the value between the &amp;lt; &amp;gt; is a Java class or not.
&lt;br&gt;&lt;br&gt;Which way do you prefer ? Or do you have another idea ?
&lt;br&gt;&lt;br&gt;I much prefer the first solution, because the second one is very very slow
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;Thanks in advance
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Tobias Scholl (schollt)
&lt;br&gt;Date: 2008-02-04 22:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1464585
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Another example:
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* @return a {@code List&amp;lt;String&amp;gt;}.
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;List&amp;lt;String&amp;gt; someMethod() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; return new java.util.ArrayList&amp;lt;String&amp;gt;();
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&amp;quot;&amp;lt;String&amp;gt;&amp;quot; considered to be an HTML tag and produces the following error:
&lt;br&gt;Unclosed HTML tag found: &amp;lt;String&amp;gt;}.
&lt;br&gt;&lt;br&gt;Possible workaround:
&lt;br&gt;&amp;lt;code&amp;gt;List&amp;lt;String&amp;gt;&amp;lt;/code&amp;gt;.
&lt;br&gt;&lt;br&gt;However, that (in my opinion) makes the comment less readable in the
&lt;br&gt;source code.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Hendrik Schreiber (hendriks73)
&lt;br&gt;Date: 2006-05-04 01:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=252726
&lt;br&gt;&lt;br&gt;A similar problem occurs when linking to a method with parametrized 
&lt;br&gt;arguments like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp;{@link #offer(java.util.Collection&amp;lt;Task&amp;gt;)}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param task task
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&lt;br&gt;The resulting message is &amp;quot;Unclosed HTML tag found: &amp;lt;Task&amp;gt;)}&amp;quot;
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=1435289&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=1435289&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831841&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Bugs-1435289---HTML-Comments-in-JavaDoc-cause-incorrect-%3Ctag%3E-parsing-tp19831841p19831841.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19831760</id>
	<title>[ checkstyle-Bugs-2127437 ] suppressions dtd</title>
	<published>2008-10-05T21:14:04Z</published>
	<updated>2008-10-05T21:14:04Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2127437, was opened at 2008-09-25 10:52
&lt;br&gt;Message generated for change (Comment added) made by oburn
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Documentation
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Pending
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Victor Mote (victormote)
&lt;br&gt;&amp;gt;Assigned to: Oliver Burn (oburn)
&lt;br&gt;Summary: suppressions dtd
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;The web site (config.html#Filters) includes the following example of using an &amp;quot;id&amp;quot; to suppress a check:
&lt;br&gt;&lt;br&gt;&amp;lt;suppress id=&amp;quot;stringEqual&amp;quot; files=&amp;quot;SomeTestCode.java&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;However, the DTD reference for the &amp;quot;suppressions&amp;quot; document points to a version 1_0, which does not allow the &amp;quot;id&amp;quot; attribute. Perhaps the documentation should provide a reference to version 1_1, which does support this attribute.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Oliver Burn (oburn)
&lt;br&gt;Date: 2008-10-06 15:14
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Hi - I cannot find the reference to version 1_0 -- can you please paste the
&lt;br&gt;exact text in so I can find it.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397078&amp;aid=2127437&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831760&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Bugs-2127437---suppressions-dtd-tp19831760p19831760.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19831731</id>
	<title>Re: [5.0beta01] Unable to instantiate PackageHtml</title>
	<published>2008-10-05T21:04:32Z</published>
	<updated>2008-10-05T21:04:32Z</updated>
	<author>
		<name>Oliver Burn</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Correct - the PackageHtml has been replaced by &lt;a href=&quot;http://checkstyle.sourceforge.net/5.x/config_javadoc.html#JavadocPackage&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://checkstyle.sourceforge.net/5.x/config_javadoc.html#JavadocPackage&lt;/a&gt;&lt;br&gt;
&lt;br&gt;In SVN I have fix the problem.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Oct 6, 2008 at 02:40, Thomas Suckow &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831731&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tsuckow@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Sun checks has not been updated for 5.0&lt;br&gt;
&lt;br&gt;
JavadocPackage replaces PackageHtml&lt;br&gt;
&lt;br&gt;
I recommend starting with checkstyle_checks rather than sun_checks&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Thomas Suckow&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
On Fri, Oct 3, 2008 at 12:29 AM, stlecho &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831731&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stlecho@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; When using the sun_checks.xml file in the checkstyle Ant target, I&amp;#39;m&lt;br&gt;
&amp;gt; receiving an &amp;quot;Unable to instantiate PackageHtml&amp;quot; error. When removing the&lt;br&gt;
&amp;gt; &amp;lt;module name=&amp;quot;PackageHtml&amp;quot;/&amp;gt; definition from sun_checks.xml, the target&lt;br&gt;
&amp;gt; works perfectly.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Is this an issue related to the 5.0beta01 version ?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Regards, Stefan Lecho.&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/-5.0beta01--Unable-to-instantiate-PackageHtml-tp19787589p19787589.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/-5.0beta01--Unable-to-instantiate-PackageHtml-tp19787589p19787589.html&lt;/a&gt;&lt;br&gt;

&amp;gt; Sent from the CheckStyle - User mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -------------------------------------------------------------------------&lt;br&gt;
&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp;amp; win great prizes&lt;br&gt;
&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Checkstyle-user mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831731&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
-------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
Build the coolest Linux based applications with Moblin SDK &amp;amp; win great prizes&lt;br&gt;
Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Checkstyle-user mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831731&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Checkstyle-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19831731&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---User-f2379.html&quot; embed=&quot;fixTarget[2379]&quot; target=&quot;_top&quot; &gt;CheckStyle - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-5.0beta01--Unable-to-instantiate-PackageHtml-tp19787589p19831731.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19825832</id>
	<title>Re: [5.0beta01] Unable to instantiate PackageHtml</title>
	<published>2008-10-05T08:40:57Z</published>
	<updated>2008-10-05T08:40:57Z</updated>
	<author>
		<name>Thomas Suckow</name>
	</author>
	<content type="html">Sun checks has not been updated for 5.0
&lt;br&gt;&lt;br&gt;JavadocPackage replaces PackageHtml
&lt;br&gt;&lt;br&gt;I recommend starting with checkstyle_checks rather than sun_checks
&lt;br&gt;&lt;br&gt;Thomas Suckow
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, Oct 3, 2008 at 12:29 AM, stlecho &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19825832&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stlecho@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When using the sun_checks.xml file in the checkstyle Ant target, I'm
&lt;br&gt;&amp;gt; receiving an &amp;quot;Unable to instantiate PackageHtml&amp;quot; error. When removing the
&lt;br&gt;&amp;gt; &amp;lt;module name=&amp;quot;PackageHtml&amp;quot;/&amp;gt; definition from sun_checks.xml, the target
&lt;br&gt;&amp;gt; works perfectly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is this an issue related to the 5.0beta01 version ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards, Stefan Lecho.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/-5.0beta01--Unable-to-instantiate-PackageHtml-tp19787589p19787589.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/-5.0beta01--Unable-to-instantiate-PackageHtml-tp19787589p19787589.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the CheckStyle - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Checkstyle-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19825832&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19825832&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---User-f2379.html&quot; embed=&quot;fixTarget[2379]&quot; target=&quot;_top&quot; &gt;CheckStyle - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-5.0beta01--Unable-to-instantiate-PackageHtml-tp19787589p19825832.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19825439</id>
	<title>Re: Extending checkstyle 4.4</title>
	<published>2008-10-05T08:04:34Z</published>
	<updated>2008-10-05T08:04:34Z</updated>
	<author>
		<name>Lars Kühne-3</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi Arnaud,&lt;br&gt;&lt;br&gt;wow, this list looks really impressive. If you&amp;#39;re comfortable sharing the the sources under LGPL and including our standard license header in your source files, you might want to contribute your code to our patch tracker, so they could end up in the normal checkstyle distribution. Just make sure that you follow the guidelines in our &amp;quot;contributing&amp;quot; document.&lt;br&gt;
&lt;br&gt;I am not aware of any other place to share checkers.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Lars&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 29, 2008 at 6:00 PM, Arnaud Roques &lt;span dir=&quot;ltr&quot;&gt;&lt;/span&gt;wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
  &lt;div style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  Hello, &lt;br&gt;Checkstyle is really a great tool to improve code quality, and I&amp;#39;ve developped some checkers that other people may find usefull. (They have been used with JDK1.4).&lt;br&gt;
If you have some idea to add in this list, please tell me.&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Checkstyle-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19825439&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---User-f2379.html&quot; embed=&quot;fixTarget[2379]&quot; target=&quot;_top&quot; &gt;CheckStyle - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Extending-checkstyle-to-detect-objetc-comparison-with-%3D%3D-operator.-tp19671726p19825439.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19812945</id>
	<title>[ checkstyle-Feature Requests-2146528 ] Translation check: Allow checkstyle:off in properties file</title>
	<published>2008-10-04T08:12:40Z</published>
	<updated>2008-10-04T08:12:40Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Feature Requests item #2146528, was opened at 2008-10-04 17:12
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2146528&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2146528&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Check
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: evernat (evernat)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Translation check: Allow checkstyle:off in properties file
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This is a feature enhancement request.
&lt;br&gt;ResourceBundle are chained with parents as said in &lt;a href=&quot;http://java.sun.com/j2se/1.5.0/docs/api/java/util/ResourceBundle.html#getString(java.lang.String&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/j2se/1.5.0/docs/api/java/util/ResourceBundle.html#getString(java.lang.String&lt;/a&gt;).
&lt;br&gt;For example, messages_fr.properties is chained with messages.properties.
&lt;br&gt;So, all messages are not always in messages_fr.properties and default ones in message.properties are used if it is the case.
&lt;br&gt;&lt;br&gt;The problem is that the translation check of checkstyle (&lt;a href=&quot;http://checkstyle.sourceforge.net/config_misc.html#Translation&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://checkstyle.sourceforge.net/config_misc.html#Translation&lt;/a&gt;) does not like chaining and gives a lot of warnings wich are false positives in this file.
&lt;br&gt;I would like to keep this check as I also have files that I would want to verify for correct translation.
&lt;br&gt;&lt;br&gt;My enhancement request is to be able to write a comment in my particular messages_fr.properties to disable check for this file. The comment could be # CHECKSTYLE:OFF
&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2146528&amp;group_id=29721&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=397081&amp;aid=2146528&amp;group_id=29721&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Checkstyle-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19812945&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/checkstyle-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---Dev-f2378.html&quot; embed=&quot;fixTarget[2378]&quot; target=&quot;_top&quot; &gt;CheckStyle - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/--checkstyle-Feature-Requests-2146528---Translation-check%3A-Allow-checkstyle%3Aoff-in-properties-file-tp19812945p19812945.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19787589</id>
	<title>[5.0beta01] Unable to instantiate PackageHtml</title>
	<published>2008-10-02T14:07:50Z</published>
	<updated>2008-10-02T14:07:50Z</updated>
	<author>
		<name>stlecho</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;When using the sun_checks.xml file in the checkstyle Ant target, I'm receiving an &amp;quot;Unable to instantiate PackageHtml&amp;quot; error. When removing the &amp;lt;module name=&amp;quot;PackageHtml&amp;quot;/&amp;gt; definition from sun_checks.xml, the target works perfectly. 
&lt;br&gt;&lt;br&gt;Is this an issue related to the 5.0beta01 version ?
&lt;br&gt;&lt;br&gt;Regards, Stefan Lecho.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CheckStyle---User-f2379.html&quot; embed=&quot;fixTarget[2379]&quot; target=&quot;_top&quot; &gt;CheckStyle - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-5.0beta01--Unable-to-instantiate-PackageHtml-tp19787589p19787589.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19820496</id>
	<title>Extending checkstyle 4.4</title>
	<published>2008-09-29T09:00:16Z</published>
	<updated>2008-09-29T09:00:16Z</updated>
	<author>
		<name>Arnaud Roques-2</name>
	</author>
	<content type="html">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 10&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 10&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CROQUES%7E1.CLE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C05%5Cclip_filelist.xml&quot;&gt;&lt;link rel=&quot;Edit-Time-Data&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CROQUES%7E1.CLE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C05%5Cclip_editdata.mso&quot;&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:OfficeDocumentSettings&gt;   &lt;o:AllowPNG/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:HyphenationZone&gt;21&lt;/w:HyphenationZone&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;   
 &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;   &lt;/w:Compatibility&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Tableau Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin:0cm;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  Hello, &lt;br&gt;Checkstyle is really a great tool to improve code quality, and I've developped some checkers that other people may find usefull. (They have been used with JDK1.4).&lt;br&gt;If you have some idea to add in this list, please tell me.&lt;br&gt;&lt;br&gt;I also apologize for the long post, but is there a better place to share checkers?&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;AvoidNegativeLogic&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;This checker avoid the usage of inverted logic. It looks for code like &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left:
 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;if (a != null) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;System.out.println(&quot;not null&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;} else {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;System.out.println(&quot;null&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family:
 Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;and promotes the usage of &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;if (a == null) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;System.out.println(&quot;null&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier;
 color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;} else {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;System.out.println(&quot;not null&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;CollapseIfStatement&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;This checker looks for if statement with can be simplified. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;if (a != null) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (b == null)
 {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;System.err.println();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;Can be simplified in: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;if (a != null &amp;amp;&amp;amp; b == null) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;System.err.println();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;DeclareVariableInItsBloc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;Variable should be declared in the bloc that uses it. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;Object dummy;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;for (Iterator it = list.iterator(); it.hasNext();) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;dummy = it.next();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;(dummy not used anymore)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;Can be changed in: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;for (Iterator it = list.iterator(); it.hasNext();) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color:
 black;&quot;&gt;Object dummy = it.next();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br&gt; &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;HiddenCatchBloc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;Very often, people catch exception
 and do not use the exception itself. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;Example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;try {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;} catch (IOException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return null;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;May be we should at least log the exception: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;try {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;} catch (IOException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;log.error(&quot;IOError &quot;, e);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;return null;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;ImmutableField&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot; lang=&quot;EN-GB&quot;&gt;This checker detects private fields that are unused in a class and promotes the usage of &lt;code&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;final&lt;/span&gt;&lt;/code&gt; for fields that are never changed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; font-family: Arial;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size:
 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;ImportControl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;This check control that import are valid into a java file, depending on its package. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;Example, to control that classes into &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;com.foo2&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; (and subpackages) does not import &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;com.foo1&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;module name=&quot;cs.ImportControl&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;importThis&quot; value=&quot;com\.foo1&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;notByPackages&quot; value=&quot;com\.foo2&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &amp;lt;/module&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;div&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;Another example, to control that only classes into &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;com.dummy2&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; (and subpackages) does import &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;com.dummy1&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;module name=&quot;cs.ImportControl&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;importThis&quot; value=&quot;com\.dummy1&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 &lt;/span&gt;&amp;lt;property name=&quot;onlyByPackages&quot; value=&quot;com\.dummy2&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;/span&gt;&amp;lt;/module&amp;gt;&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;InstanceofIsNeverNull&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;When an object is an &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;instanceof&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt; something, it cannot be &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;So the following code : &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;if (obj != null &amp;amp;&amp;amp; obj instanceof List) {...} &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;should be changed into: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;if (obj instanceof List) {...}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;NewIsNeverNull&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin:
 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;When an object is created with &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;, it is never null. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;So the following code : &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;MyClass obj = new MyClass();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;if (obj != null) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier;
 color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// Some code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;should be changed into: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;MyClass obj = new MyClass();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt; 
 &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;// Some code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;PatternFilter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;This filter looks like SuppressionFilter, but the configuration is done in the filter itself, and not into another XML file. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;module name=&quot;Checker&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;module
 name=&quot;cs.PatternFilter&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;ignoreFiles&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;value=&quot;(.*(&amp;amp;lt;=Managed)(&amp;amp;lt;=View)Bean\.java)|(.*Home\.java)&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;modules&quot; value=&quot;TabCharacter|WhitespaceAround&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/module&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;module name=&quot;TreeWalker&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/module&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;&quot; lang=&quot;EN-GB&quot;&gt; &lt;/span&gt;&amp;lt;/module&amp;gt;&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;TooEarlyVariableDeclaration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;This checker try to detect too early variable declaration: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;int i = 0, j = 4; // Error: Declare variables on separate lines &lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;int i;&lt;br&gt; i = 4; // those two lines can be merged into &quot;int i = 4&quot; &lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;int i = 0; // this
 affectation is useless&lt;br&gt; i = 4; &lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;int i; // Declare variable as close as possible to where they are used&lt;br&gt; [...A lot of code that does NOT use i...]&lt;br&gt; i = 6; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;UnitTestMethods&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;This checker is really great for Test Driven
 Developpement. It checks that every non private method of a class is JUnit tested. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;Example of module configuration: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;module name=&quot;cs.UnitTestMethods&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;severity&quot; value=&quot;warning&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;filesToCheck&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;value=&quot;^(.*[/\\])src([/\\]dummy[/\\]\w+)\.java$&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;testCases&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;value=&quot;$1test$2Test.java&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;property name=&quot;minSemicolon&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;value=&quot;2&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;/module&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt;
 font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;This example looks for every Java file in &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;src/dummy&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt; or &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;src\dummy&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;. Non-private methods that have more than 2 semicolons must have a test method. The TestCase must be in &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;test/dummy&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt; directory. &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;UnnecessarilyElse&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;This checker detects unnecessarily else statement. Example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;if (a==null) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// some code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return null;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;} else {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// other things&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;which can be changed into: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;if (a==null) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// some code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return null;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;&lt;span style=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;// other things&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;UnnecessaryParentheses&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;This checker detects some unnecessary parentheses which are not detected by the standard check of CheckStyle. Up to now, it only deals with &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;!=&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt; and &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; color: black;&quot; lang=&quot;EN-GB&quot;&gt;||&lt;/span&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;It detects the following code: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;((a==null) &amp;amp;&amp;amp; (b!=null))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;which is better read this way (except for people coming from LISP :-) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 4.5pt;&quot;&gt;&lt;span style=&quot;font-size: 9pt; font-family: Courier; color: black;&quot;&gt;(a==null &amp;amp;&amp;amp; b!=null)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;EN-GB&quot;&gt;UnusedLocalVariable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 7.5pt 0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial; color: black;&quot; lang=&quot;EN-GB&quot;&gt;This checker detects unused local variable. The detection is not 100% accurate.
 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;  &lt;ul style=&quot;margin-top: 0cm;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot; lang=&quot;EN-GB&quot;&gt;If the checker      declares a variable as unused, it means that the variable is &lt;span style=&quot;font-style: italic;&quot;&gt;really      &lt;/span&gt;unused. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot; lang=&quot;EN-GB&quot;&gt;But in some      (rare) cases, an unused variable can be undetected by the checker. For      example, if you call the variable &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; lang=&quot;EN-GB&quot;&gt;foo&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot; lang=&quot;EN-GB&quot;&gt; and that you      also have some method called &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; lang=&quot;EN-GB&quot;&gt;foo()&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot; lang=&quot;EN-GB&quot;&gt; used. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt; 
 &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;p&gt;&amp;#32;




      &lt;br /&gt; &lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Checkstyle-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19820496&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Checkstyle-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listi