[Fb-contrib-commit] SF.net SVN: fb-contrib: [901] trunk/fb-contrib/htdocs/index.html
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2007-09-15 04:34:29
|
Revision: 901
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=901&view=rev
Author: dbrosius
Date: 2007-09-14 21:34:33 -0700 (Fri, 14 Sep 2007)
Log Message:
-----------
doc UAA and MRC
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.html
Modified: trunk/fb-contrib/htdocs/index.html
===================================================================
--- trunk/fb-contrib/htdocs/index.html 2007-09-15 04:31:29 UTC (rev 900)
+++ trunk/fb-contrib/htdocs/index.html 2007-09-15 04:34:33 UTC (rev 901)
@@ -52,6 +52,14 @@
Detectors add in svn<br/>
<div id="svn" style="display:none;">
<ul>
+ <li><b>[MRC] Method returns Constant</b><br/>
+ Looks for private methods that can only return one constant value.
+ Either the class should return a value, or perhaps a branch was missed.
+ <li><b>[UAA] Use Add All</b><br/>
+ Looks for loops that transfers the contents of one collection to another. These collection sources
+ might be local variables or member fields, including sets, maps key/values, lists, or arrays.
+ It is simpler to just use the addAll method of the collection class. In the case where the
+ source is an array, you can use Arrays.asList(array), and use that as the source to addAll.</li>
<li><b>[SJVU] Suspicious JDK Version Use</b><br/>
Looks for calls to classes and methods that do not exist in the JDK for which this class is
compiled. This can happen if you specify the -source and -target options of the javac compiler, and
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|