Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.0.0-M31
-
None
Description
Calling LdifUtils.convertToLdif(<LdifEntry instance>, Integer.MAX_VALUE)
returns Ldif data that is wrapped at 80 characters.
Digging in, I discovered that at line 508 of org.apache.directory.api.ldap.model.ldif.LdifUtils, convertToLdif(Attribute) is being called instead of convertToLdif(Attribute, int).
When I made a copy of LdifUtils, and changed that line, the generated Ldif data was no longer wrapped at 80 characters.