You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2010/05/20 11:32:10 UTC

svn commit: r946579 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema: parsers/OpenLdapSchemaParser.java registries/Registries.java

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