directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1696644 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifUtils.java
Date Wed, 19 Aug 2015 18:34:37 GMT
Author: elecharny
Date: Wed Aug 19 18:34:36 2015
New Revision: 1696644

URL: http://svn.apache.org/r1696644
Log:
Fixed the ldif output for Modify operations that aren't trigerred to the number of characters
provided (See DIRAPI-245)

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

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifUtils.java?rev=1696644&r1=1696643&r2=1696644&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifUtils.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifUtils.java
Wed Aug 19 18:34:36 2015
@@ -509,7 +509,7 @@ public final class LdifUtils
                     sb.append( modification.getAttribute().getUpId() );
                     sb.append( '\n' );
 
-                    sb.append( convertToLdif( modification.getAttribute() ) );
+                    sb.append( convertToLdif( modification.getAttribute(), length ) );
                     sb.append( "-\n" );
                 }
 



Mime
View raw message