directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r945229 - in /directory/shared/trunk: dsml-parser/pom.xml dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Dsmlv2Container.java pom.xml
Date Mon, 17 May 2010 16:17:31 GMT
Author: felixk
Date: Mon May 17 16:17:31 2010
New Revision: 945229

URL: http://svn.apache.org/viewvc?rev=945229&view=rev
Log:
SuppressWarning for false positive in findbugs

Modified:
    directory/shared/trunk/dsml-parser/pom.xml
    directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Dsmlv2Container.java
    directory/shared/trunk/pom.xml

Modified: directory/shared/trunk/dsml-parser/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/pom.xml?rev=945229&r1=945228&r2=945229&view=diff
==============================================================================
--- directory/shared/trunk/dsml-parser/pom.xml (original)
+++ directory/shared/trunk/dsml-parser/pom.xml Mon May 17 16:17:31 2010
@@ -81,5 +81,12 @@
       <artifactId>xpp3</artifactId>
       <version>${xpp3.version}</version>
     </dependency>
+
+    <dependency>
+      <groupId>findbugs</groupId>
+      <artifactId>annotations</artifactId>
+      <version>${findbugs.annotations.version}</version>
+      <scope>compile</scope>
+    </dependency>
   </dependencies>
 </project>

Modified: directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Dsmlv2Container.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Dsmlv2Container.java?rev=945229&r1=945228&r2=945229&view=diff
==============================================================================
--- directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Dsmlv2Container.java
(original)
+++ directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Dsmlv2Container.java
Mon May 17 16:17:31 2010
@@ -183,6 +183,8 @@ public class Dsmlv2Container implements 
      * @return
      *      the states.
      */
+    @edu.umd.cs.findbugs.annotations.SuppressWarnings(value="UWF_UNWRITTEN_FIELD",
+        justification="it exists a setter for 'states'")
     public IStates getStates()
     {
         return states;

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=945229&r1=945228&r2=945229&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Mon May 17 16:17:31 2010
@@ -51,6 +51,7 @@
     <slf4j.log4j12.version>1.5.10</slf4j.log4j12.version>
     <xml.apis.version>1.0.b2</xml.apis.version>
     <xpp3.version>1.1.4c</xpp3.version>
+    <findbugs.annotations.version>1.0.0</findbugs.annotations.version>
   </properties>
   
   <distributionManagement>



Mime
View raw message