Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB5CEC34B for ; Fri, 21 Jun 2013 00:22:24 +0000 (UTC) Received: (qmail 69732 invoked by uid 500); 21 Jun 2013 00:22:24 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 69699 invoked by uid 500); 21 Jun 2013 00:22:24 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 69691 invoked by uid 99); 21 Jun 2013 00:22:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 00:22:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 00:22:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2FE822388906; Fri, 21 Jun 2013 00:22:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130621002202.2FE822388906@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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() )