[Fb-contrib-commit] SF.net SVN: fb-contrib:[1712] trunk/fb-contrib/htdocs/index.shtml
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2012-02-02 18:30:45
|
Revision: 1712
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1712&view=rev
Author: dbrosius
Date: 2012-02-02 18:30:39 +0000 (Thu, 02 Feb 2012)
Log Message:
-----------
update detector descriptions
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2012-02-02 18:00:41 UTC (rev 1711)
+++ trunk/fb-contrib/htdocs/index.shtml 2012-02-02 18:30:39 UTC (rev 1712)
@@ -79,7 +79,7 @@
<ul>
<li><b>[CVAA] ContraVariant Array Assignment</b><br/>
Looks for contravariant array assignments. Since arrays are mutable data structures, their use
- must be restricted to covariant or invariant usage.
+ must be restricted to covariant or invariant usage.<br/>
<span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span></li>
<li><b>[LGO] Lingering Graphics Object</b><br/>
Looks for creation of java.awt.Graphics object that do not have the
@@ -91,6 +91,34 @@
same kind of exception, and throw the same exception always. These blocks can
be coalesced into one.
</li>
+ <li><b>[CCNE] Compare Class Name Equals</b><br/>
+ Looks for code that compares to classes by name, rather than by just comparing the
+ classes with ==<br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
+ <li><b>[CSBTS] CommonsStringBuilderToString</b><br/>
+ Looks for usage of ToStringBuilder from Apache commons, where the code invokes
+ toString() on the constructed object without invoking append().<br/>
+
+ Usage without invoking append is equivalent of using the Object.toString()
+ method
+
+ <pre>
+ new ToStringBuilder(this).toString();
+ </pre><br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
+ <li><b>[CHTH] CommonsHashcodeBuilderToHashcode</b><br/>
+ Looks for uses for Commons-lang HashCodeBuilder where the result of hashCode() is
+ returned instead of calling the method toHashCode().<br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
+ <li><b>[BRPI] BackportReusePublicIdentifiers</b><br/>
+ Looks for use of Backport Utils concurrent classes. Updated/Efficient version of these
+ classes are available in versions of the JDK 5.0 and higher, and these
+ classes should only be used if you are targeting JDK 1.4 and lower.<br/>
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span>
+ </li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|