directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1495250 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java
Date Fri, 21 Jun 2013 00:22:02 GMT
Author: elecharny
Date: Fri Jun 21 00:22:01 2013
New Revision: 1495250

URL: http://svn.apache.org/r1495250
Log:
Applied the suggested patch for DIRAPI-147

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java?rev=1495250&r1=1495249&r2=1495250&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java
Fri Jun 21 00:22:01 2013
@@ -866,6 +866,8 @@ public class LdifEntry implements Clonea
             // Check each different cases
             switch ( changeType )
             {
+                case None:
+                    // Fall through
                 case Add:
                     // Checks the attributes
                     if ( entry != null )
@@ -975,6 +977,8 @@ public class LdifEntry implements Clonea
         // Check each different cases
         switch ( changeType )
         {
+            case None:
+                // Fall through
             case Add:
                 // Checks the attributes
                 if ( entry.size() != otherEntry.entry.size() )



Mime
View raw message