From 1fdc2b972a97f41606a3960a6fcde3a6020396f4 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 10 Sep 2012 12:40:55 +0000
Subject: [PATCH] Fix OPENDJ-588: LDIFEntryWriter contains unused setSchema

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryWriter.java |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryWriter.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryWriter.java
index 7e3a60c..60d76c8 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryWriter.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryWriter.java
@@ -37,7 +37,6 @@
 import org.forgerock.opendj.ldap.DN;
 import org.forgerock.opendj.ldap.Entry;
 import org.forgerock.opendj.ldap.Matcher;
-import org.forgerock.opendj.ldap.schema.Schema;
 
 import com.forgerock.opendj.util.Validator;
 
@@ -220,21 +219,6 @@
     }
 
     /**
-     * Sets the schema which should be used when filtering entries (not required
-     * if no filtering is to be performed). The default schema is used if no
-     * other is specified.
-     *
-     * @param schema
-     *            The schema which should be used when filtering entries.
-     * @return A reference to this {@code LDIFEntryWriter}.
-     */
-    public LDIFEntryWriter setSchema(final Schema schema) {
-        Validator.ensureNotNull(schema);
-        this.schema = schema;
-        return this;
-    }
-
-    /**
      * Specifies the column at which long lines should be wrapped. A value less
      * than or equal to zero (the default) indicates that no wrapping should be
      * performed.

--
Gitblit v1.10.0