[Fb-contrib-commit] SF.net SVN: fb-contrib:[1481] trunk/fb-contrib
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-01-14 05:31:43
|
Revision: 1481
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1481&view=rev
Author: dbrosius
Date: 2010-01-14 05:31:35 +0000 (Thu, 14 Jan 2010)
Log Message:
-----------
get ready for the 4.2.0 release
Modified Paths:
--------------
trunk/fb-contrib/build.xml
trunk/fb-contrib/etc/findbugs.xml
trunk/fb-contrib/htdocs/index.shtml
trunk/fb-contrib/pom.xml
Modified: trunk/fb-contrib/build.xml
===================================================================
--- trunk/fb-contrib/build.xml 2010-01-12 06:15:01 UTC (rev 1480)
+++ trunk/fb-contrib/build.xml 2010-01-14 05:31:35 UTC (rev 1481)
@@ -20,7 +20,7 @@
<property name="javac.deprecation" value="on"/>
<property name="javac.debug" value="on"/>
- <property name="fb-contrib.version" value="4.1.0"/>
+ <property name="fb-contrib.version" value="4.2.0"/>
<target name="clean" description="removes all generated collateral">
<delete dir="${classes.dir}"/>
Modified: trunk/fb-contrib/etc/findbugs.xml
===================================================================
--- trunk/fb-contrib/etc/findbugs.xml 2010-01-12 06:15:01 UTC (rev 1480)
+++ trunk/fb-contrib/etc/findbugs.xml 2010-01-14 05:31:35 UTC (rev 1481)
@@ -308,13 +308,13 @@
<Detector
class="com.mebigfatguy.fbcontrib.detect.ContraVariantArrayAssignment"
- speed="fast" reports="CVAA_CONTRAVARIANT_ARRAY_ASSIGNMENT,CVAA_CONTRAVARIANT_ELEMENT_ASSIGNMENT" />
+ speed="fast" hidden="true" reports="CVAA_CONTRAVARIANT_ARRAY_ASSIGNMENT,CVAA_CONTRAVARIANT_ELEMENT_ASSIGNMENT" />
<Detector class="com.mebigfatguy.fbcontrib.detect.NonFunctionalField"
speed="fast" reports="NFF_NON_FUNCTIONAL_FIELD" />
<Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousNullGuard"
- speed="fast" reports="SNG_SUSPICIOUS_NULL_FIELD_GUARD,SNG_SUSPICIOUS_NULL_LOCAL_GUARD" />
+ speed="fast" hidden="true" reports="SNG_SUSPICIOUS_NULL_FIELD_GUARD,SNG_SUSPICIOUS_NULL_LOCAL_GUARD" />
<Detector class="com.mebigfatguy.fbcontrib.detect.MoreDumbMethods"
speed="fast"
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-12 06:15:01 UTC (rev 1480)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-14 05:31:35 UTC (rev 1481)
@@ -51,10 +51,28 @@
<a href="bugdescriptions.html">Bug Descriptions</a>
<!--#include virtual="mbfg_menu.shtml" -->
<hr/>
- <img id="svn_image" src="flip2.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
+ <img id="svn_image" src="flip1.gif" onClick="toggleBlock('svn', 'svn_image');" align="top"/>
Detectors added in svn<br/>
- <div id="svn" style="display:block;">
+ <div id="svn" style="display:none;">
<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.
+ <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span></li>
+ <li><b>[SNG] Suspicious Null Guard</b><br/>
+ Looks for code that checks to see if a field or local variable is not null,
+ before entering a code block (either an if, or while statement) and then doesn't
+ reference that field or local in the block of code that is guarded by the null
+ check. Instead it references another object of the same type. It is likely that null
+ check is being done on the wrong variable, either because of a copy/paste error,
+ or a change in implementation.</li>
+ </ul>
+ </div>
+ <hr/>
+ <img id="v4_2_0_image" src="flip2.gif" onClick="toggleBlock('v4_2_0', 'v4_2_0_image');" align="top"/>
+ Detectors added in v4.2.0<br/>
+ <div id="v4_2_0" style="display:block;">
+ <ul>
<li><b>[PDP] Poorly Defined Parameter</b><br/>
Looks for non derivable methods that declare parameters and then cast those
parameters to more specific types in the method. This is misleading and dangerous
@@ -72,10 +90,6 @@
symmetry. If a equals b, then b equals a. While it is usually wrong to allow
equals to compare different types, at the very least you should make sure that
each class knows about each other and is able to compare themselves with each other.</li>
- <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.
- <span style="color: #0000FF;">--contributed by Bhaskar Maddala - THANKS!</span></li>
<li><b>[NFF] Non Functional Field</b><br/>
Looks for fields in serializable classes that are defined as both final and
transient. As a transient field is not initialized when streamed, and is not
@@ -84,18 +98,11 @@
Looks for a variety of questionable method calls that will cause problems, are unsafe
or use practices that might lead to bugs.
<span style="color: #0000FF;">--contributed by Chris Peterson - THANKS!</span></li>
- <li><b>[SNG] Suspicious Null Guard</b><br/>
- Looks for code that checks to see if a field or local variable is not null,
- before entering a code block (either an if, or while statement) and then doesn't
- reference that field or local in the block of code that is guarded by the null
- check. Instead it references another object of the same type. It is likely that null
- check is being done on the wrong variable, either because of a copy/paste error,
- or a change in implementation.</li>
</ul>
<ul>
<li><span style="color: #0000FF;">Maven pom file contributed by Grzegorz Slowikowski - THANKS!</span></li>
<ul>
- </div>
+ </div>
<hr/>
<img id="v4_0_0_image" src="flip1.gif" onClick="toggleBlock('v4_0_0', 'v4_0_0_image');" align="top"/>
Detectors added in v4.0.0<br/>
Modified: trunk/fb-contrib/pom.xml
===================================================================
--- trunk/fb-contrib/pom.xml 2010-01-12 06:15:01 UTC (rev 1480)
+++ trunk/fb-contrib/pom.xml 2010-01-14 05:31:35 UTC (rev 1481)
@@ -5,10 +5,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.2.0</modelVersion>
<groupId>com.mebigfatguy.fb-contrib</groupId>
<artifactId>fb-contrib</artifactId>
- <version>4.0.0</version>
+ <version>4.2.0</version>
<name>FindBugs Contrib plugin library</name>
<description>An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.</description>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|