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/TestCfg.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/TestCfg.java b/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/TestCfg.java
index 9a834f8..ffa88b0 100644
--- a/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/TestCfg.java
+++ b/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/TestCfg.java
@@ -43,8 +43,10 @@
* A one-to-zero-or-one relation between the root and a test-parent
* component.
*/
+ // @Checkstyle:off
private static final OptionalRelationDefinition<TestParentCfgClient, TestParentCfg>
RD_TEST_ONE_TO_ZERO_OR_ONE_PARENT;
+ // @Checkstyle:on
// Create a one-to-many relation for test-parent components.
static {
@@ -83,7 +85,7 @@
LDAPProfile.getInstance().pushWrapper(new MockLDAPProfile());
}
- private static void initializeAndRegisterBundle(ManagedObjectDefinition<?,?> definition) throws Exception {
+ private static void initializeAndRegisterBundle(ManagedObjectDefinition<?, ?> definition) throws Exception {
definition.initialize();
String baseName = definition.getClass().getName();
ResourceBundle resourceBundle = ResourceBundle.getBundle(baseName);
@@ -117,10 +119,12 @@
* @return Returns the one-to-many relation between the root and test-parent
* components.
*/
+ // @Checkstyle:off
public static InstantiableRelationDefinition<TestParentCfgClient, TestParentCfg>
getTestOneToManyParentRelationDefinition() {
return RD_TEST_ONE_TO_MANY_PARENT;
}
+ // @Checkstyle:on
/**
* Gets the one-to-zero-or-one relation between the root and a test-parent
@@ -132,10 +136,12 @@
* @return Returns the one-to-zero-or-one relation between the root and a
* test-parent component.
*/
+ // @Checkstyle:off
public static OptionalRelationDefinition<TestParentCfgClient, TestParentCfg>
getTestOneToZeroOrOneParentRelationDefinition() {
return RD_TEST_ONE_TO_ZERO_OR_ONE_PARENT;
}
+ // @Checkstyle:on
/**
* Initializes a property definition and its default behavior.
--
Gitblit v1.10.0