From 887d477fa8daf523b8411461451968d2c58274f4 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 14 Jan 2008 10:43:58 +0000
Subject: [PATCH] Partial fix for issue 2661 - public APIs must not reference private classes.
---
opends/src/server/org/opends/server/core/LogRetentionPolicyConfigManager.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/LogRetentionPolicyConfigManager.java b/opends/src/server/org/opends/server/core/LogRetentionPolicyConfigManager.java
index 13f3c12..c7278ac 100644
--- a/opends/src/server/org/opends/server/core/LogRetentionPolicyConfigManager.java
+++ b/opends/src/server/org/opends/server/core/LogRetentionPolicyConfigManager.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Portions Copyright 2006-2007 Sun Microsystems, Inc.
+ * Portions Copyright 2006-2008 Sun Microsystems, Inc.
*/
package org.opends.server.core;
import org.opends.messages.Message;
@@ -240,8 +240,8 @@
// Determine the initialization method to use: it must take a
// single parameter which is the exact type of the configuration
// object.
- theClass.getMethod("initializeLogRetentionPolicy", config.definition()
- .getServerConfigurationClass());
+ theClass.getMethod("initializeLogRetentionPolicy", config
+ .configurationClass());
} catch (Exception e) {
Message message = ERR_CONFIG_RETENTION_POLICY_INVALID_CLASS.get(className,
config.dn().toString(),
@@ -269,8 +269,8 @@
// Determine the initialization method to use: it must take a
// single parameter which is the exact type of the configuration
// object.
- Method method = theClass.getMethod("initializeLogRetentionPolicy",
- config.definition().getServerConfigurationClass());
+ Method method = theClass.getMethod("initializeLogRetentionPolicy", config
+ .configurationClass());
method.invoke(RetentionPolicy, config);
}
catch (InvocationTargetException ite)
--
Gitblit v1.10.0