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/AttributeSyntaxConfigManager.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/AttributeSyntaxConfigManager.java b/opends/src/server/org/opends/server/core/AttributeSyntaxConfigManager.java
index 1dc9f1f..96ca2cd 100644
--- a/opends/src/server/org/opends/server/core/AttributeSyntaxConfigManager.java
+++ b/opends/src/server/org/opends/server/core/AttributeSyntaxConfigManager.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;
@@ -469,9 +469,8 @@
if (initialize)
{
- Method method =
- syntax.getClass().getMethod("initializeSyntax",
- configuration.definition().getServerConfigurationClass());
+ Method method = syntax.getClass().getMethod("initializeSyntax",
+ configuration.configurationClass());
method.invoke(syntax, configuration);
}
else
--
Gitblit v1.10.0