From 19add981803b98587051c84159df69bbab579095 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 15 Jan 2009 10:26:22 +0000
Subject: [PATCH] Use directly the constant OID of the control instead of creating a control object.

---
 opends/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java b/opends/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java
index 6c1f9e2..b6942fd 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java
@@ -82,7 +82,6 @@
 import javax.swing.table.TableColumn;
 import javax.swing.table.TableColumnModel;
 
-import org.opends.admin.ads.SubtreeDeleteControl;
 import org.opends.guitools.controlpanel.ControlPanel;
 import org.opends.guitools.controlpanel.browser.IconPool;
 import org.opends.guitools.controlpanel.datamodel.ConfigReadException;
@@ -2073,12 +2072,6 @@
     }
   }
 
-  /**
-   * The OID of the delete subtree control.
-   */
-  public static final String SUBTREE_CTRL_OID =
-    (new SubtreeDeleteControl()).getID();
-
 
   /**
    * Sets the required icon to the provided label.

--
Gitblit v1.10.0