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

Ludovic Poitou
17.01.2012 7482bb51d3ad7fba135247a57fc20e2e979ca9c1
Fix OPENDJ-469 - LDIFReader has code duplication and suffer from poor performance with highly multi-valued attributes.
Previous commit demonstrates an issue with the LDIFImportConfig, the validateSchema flag was not set in constructor.
1 files modified
3 ■■■■■ changed files
opends/src/server/org/opends/server/types/LDIFImportConfig.java 3 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/types/LDIFImportConfig.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2012 ForgeRock AS
 */
package org.opends.server.types;
@@ -274,6 +275,7 @@
    invokeImportPlugins    = false;
    isCompressed           = false;
    isEncrypted            = false;
    validateSchema         = true;
    reader                 = null;
    rejectWriter           = null;
    skipWriter             = null;
@@ -310,6 +312,7 @@
    invokeImportPlugins    = false;
    isCompressed           = false;
    isEncrypted            = false;
    validateSchema         = true;
    reader                 = getBufferedReader(ldifInputReader);
    rejectWriter           = null;
    skipWriter             = null;