From efa949b25f472d7e4c39733678d8f0e5229f8201 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Thu, 26 Dec 2013 15:31:32 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1235 : Migrate configuration framework

---
 opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/server/AdminTestCaseUtils.java |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/server/AdminTestCaseUtils.java b/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/server/AdminTestCaseUtils.java
index c404ab0..51031c1 100644
--- a/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/server/AdminTestCaseUtils.java
+++ b/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/server/AdminTestCaseUtils.java
@@ -87,12 +87,13 @@
         }
     }
 
-    // Construct a dummy path.
-    private synchronized static <C extends ConfigurationClient, S extends Configuration> ManagedObjectPath<C, S> getPath(
-            AbstractManagedObjectDefinition<C, S> d) {
+    /** Construct a dummy path. */
+    // @Checkstyle:off
+    private synchronized static <C extends ConfigurationClient, S extends Configuration> ManagedObjectPath<C, S>
+        getPath(AbstractManagedObjectDefinition<C, S> d) {
+    // @Checkstyle:on
         if (!isProfileRegistered) {
             LDAPProfile.Wrapper profile = new LDAPProfile.Wrapper() {
-
                 @Override
                 public String getRelationRDNSequence(RelationDefinition<?, ?> r) {
                     if (r.getName().equals(DUMMY_TEST_RELATION)) {
@@ -103,15 +104,12 @@
                 }
 
             };
-
             LDAPProfile.getInstance().pushWrapper(profile);
             isProfileRegistered = true;
         }
-
-        SingletonRelationDefinition.Builder<C, S> builder = new SingletonRelationDefinition.Builder<C, S>(
-                RootCfgDefn.getInstance(), DUMMY_TEST_RELATION, d);
+        SingletonRelationDefinition.Builder<C, S> builder =
+            new SingletonRelationDefinition.Builder<C, S>(RootCfgDefn.getInstance(), DUMMY_TEST_RELATION, d);
         ManagedObjectPath<?, ?> root = ManagedObjectPath.emptyPath();
         return root.child(builder.getInstance());
-
     }
 }

--
Gitblit v1.10.0