From a2bc68638f55ae0ad7b9e3a04c7a3c02d01384f8 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 13 Feb 2013 23:44:11 +0000
Subject: [PATCH] Partial fix for OPENDJ-758 : Implement configurable update policy for simple and default mappers

---
 opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Config.java |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Config.java b/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Config.java
index 53076d2..e5a8b1b 100644
--- a/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Config.java
+++ b/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Config.java
@@ -25,10 +25,10 @@
 final class Config {
 
     private final Filter falseFilter;
-    private final Schema schema;
-    private final ReadOnUpdatePolicy readOnUpdatePolicy;
-    private final Filter trueFilter;
     private final DecodeOptions options;
+    private final ReadOnUpdatePolicy readOnUpdatePolicy;
+    private final Schema schema;
+    private final Filter trueFilter;
 
     Config(final Filter trueFilter, final Filter falseFilter,
             final ReadOnUpdatePolicy readOnUpdatePolicy, final Schema schema) {
@@ -40,17 +40,6 @@
     }
 
     /**
-     * Returns the schema which should be used when attribute types and
-     * controls.
-     *
-     * @return The schema which should be used when attribute types and
-     *         controls.
-     */
-    public Schema schema() {
-        return schema;
-    }
-
-    /**
      * Returns the decoding options which should be used when decoding controls
      * in responses.
      *
@@ -83,6 +72,17 @@
     }
 
     /**
+     * Returns the schema which should be used when attribute types and
+     * controls.
+     *
+     * @return The schema which should be used when attribute types and
+     *         controls.
+     */
+    public Schema schema() {
+        return schema;
+    }
+
+    /**
      * {@inheritDoc}
      */
     @Override

--
Gitblit v1.10.0