You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2013/06/21 02:22:02 UTC
svn commit: r1495250 -
/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java
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() )