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/EntryCacheConfigManager.java | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/EntryCacheConfigManager.java b/opends/src/server/org/opends/server/core/EntryCacheConfigManager.java
index 21ce273..feaee98 100644
--- a/opends/src/server/org/opends/server/core/EntryCacheConfigManager.java
+++ b/opends/src/server/org/opends/server/core/EntryCacheConfigManager.java
@@ -620,10 +620,8 @@
if (initialize)
{
- Method method = cache.getClass().getMethod(
- "initializeEntryCache",
- configuration.definition().getServerConfigurationClass()
- );
+ Method method = cache.getClass().getMethod("initializeEntryCache",
+ configuration.configurationClass());
method.invoke(cache, configuration);
}
// This will check if configuration is acceptable on disabled
--
Gitblit v1.10.0