From 838e873376cc4a1cc3588746f6bf8dec4c9355a9 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 19 Jan 2010 17:09:10 +0000
Subject: [PATCH] Fix a bunch of warnings mentioned by the IDE (most of them related to the non-use of generics).
---
opends/src/guitools/org/opends/guitools/controlpanel/util/ReadOnlyConfigFileHandler.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/util/ReadOnlyConfigFileHandler.java b/opends/src/guitools/org/opends/guitools/controlpanel/util/ReadOnlyConfigFileHandler.java
index 8990627..c7c369a 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/util/ReadOnlyConfigFileHandler.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/util/ReadOnlyConfigFileHandler.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008 Sun Microsystems, Inc.
+ * Copyright 2008-2010 Sun Microsystems, Inc.
*/
package org.opends.guitools.controlpanel.util;
@@ -51,6 +51,7 @@
import org.opends.server.types.CanceledOperationException;
import org.opends.server.types.ConditionResult;
import org.opends.server.types.DN;
+import org.opends.server.types.DirectoryEnvironmentConfig;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.Entry;
import org.opends.server.types.IndexType;
@@ -244,8 +245,7 @@
serverRoot = rootFile.getAbsolutePath();
File instanceRootFile =
- DirectoryServer.getEnvironmentConfig().
- getInstanceRootFromServerRoot(rootFile);
+ DirectoryEnvironmentConfig.getInstanceRootFromServerRoot(rootFile);
instanceRoot = instanceRootFile.getAbsolutePath();
}
catch (InitializationException ie)
--
Gitblit v1.10.0