Update of /cvsroot/fb-contrib/fb-contrib/htdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14873/htdocs
Modified Files:
index.html
Log Message:
doc LSC
Index: index.html
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/htdocs/index.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- index.html 19 Sep 2005 02:28:54 -0000 1.9
+++ index.html 19 Sep 2005 04:22:23 -0000 1.10
@@ -18,6 +18,10 @@
Detectors added in CVS<br/>
Note: these detectors are still in testing<br/>
<ul>
+ <li><b>Literal String Comparison</b><br/>
+ Finds methods that call the equals or compareTo methods on a String variable passing in a String literal.
+ A NullPointerException may occur if the string variable is null. If instead the method was called on
+ the string literal, and the variable was passed as an argument, this exception could never happen</li>
<li><b>Final Parameters</b><br/>
Finds parameters that are not written to, but are not defined as final. Doing so helps
documents the method, and may help the jvm optimize the invocation of this method.</li>
|