mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
04.29.2012 a401798e5e8f3142b49858c958bfcb9d4a764ddb
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/AbstractLDIFReader.java
@@ -55,7 +55,6 @@
import org.forgerock.opendj.ldap.schema.Syntax;
import org.forgerock.opendj.ldap.schema.UnknownSchemaElementException;
import com.forgerock.opendj.util.Base64;
import com.forgerock.opendj.util.Validator;
/**
@@ -258,7 +257,7 @@
                }
                try {
                    value = Base64.decode(ldifLine.substring(pos));
                    value = ByteString.valueOfBase64(ldifLine.substring(pos));
                } catch (final LocalizedIllegalArgumentException e) {
                    // The value did not have a valid base64-encoding.
                    final LocalizableMessage message =
@@ -608,7 +607,7 @@
            final String base64DN = ldifLine.substring(pos);
            try {
                dnString = Base64.decode(base64DN).toString();
                dnString = ByteString.valueOfBase64(base64DN).toString();
            } catch (final LocalizedIllegalArgumentException e) {
                // The value did not have a valid base64-encoding.
                final LocalizableMessage message =
@@ -663,7 +662,7 @@
            }
            try {
                pair.value = Base64.decode(ldifLine.substring(pos)).toString();
                pair.value = ByteString.valueOfBase64(ldifLine.substring(pos)).toString();
            } catch (final LocalizedIllegalArgumentException e) {
                pair.key = null;
                return ldifLine;