directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r946579 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema: parsers/OpenLdapSchemaParser.java registries/Registries.java
Date Thu, 20 May 2010 09:32:10 GMT
Author: felixk
Date: Thu May 20 09:32:10 2010
New Revision: 946579

URL: http://svn.apache.org/viewvc?rev=946579&view=rev
Log:
PMD false positives

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/OpenLdapSchemaParser.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/OpenLdapSchemaParser.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/OpenLdapSchemaParser.java?rev=946579&r1=946578&r2=946579&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/OpenLdapSchemaParser.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/OpenLdapSchemaParser.java
Thu May 20 09:32:10 2010
@@ -195,6 +195,8 @@ public class OpenLdapSchemaParser extend
     }
 
 
+    // False positive
+    @SuppressWarnings("PMD.EmptyIfStmt")
     private void resolveObjectIdentifierMacro( OpenLdapObjectIdentifierMacro macro ) throws
ParseException
     {
         String rawOidOrNameSuffix = macro.getRawOidOrNameSuffix();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java?rev=946579&r1=946578&r2=946579&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
Thu May 20 09:32:10 2010
@@ -2500,6 +2500,8 @@ public class Registries implements Schem
      * - first clone the SchemaObjetc registries
      * - second restore the relation between them
      */
+    // False positive
+    @SuppressWarnings("PMD.EmptyCatchBlock")
     public Registries clone() throws CloneNotSupportedException
     {
         // First clone the structure



Mime
View raw message