From 4783adc14c2d6b96260052d3b634eafa500c6ddf Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Thu, 01 Mar 2007 03:27:06 +0000
Subject: [PATCH] This removes old debug logging framework method calls that are going to be automatically instrumented by AspectJ. Non instrumented debug method calls are updated to use the new debug framework methods. However, the new debug logging framework is not yet active as the Aspects are not weaved in. After this revision, debug logging will be disabled in the server until the new AOP framework is complete. 

---
 opendj-sdk/opends/src/server/org/opends/server/monitors/BackendMonitor.java |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/monitors/BackendMonitor.java b/opendj-sdk/opends/src/server/org/opends/server/monitors/BackendMonitor.java
index 4eb7e8a..a1516cb 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/monitors/BackendMonitor.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/monitors/BackendMonitor.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2006 Sun Microsystems, Inc.
+ *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.monitors;
 
@@ -44,7 +44,6 @@
 import org.opends.server.types.DN;
 import org.opends.server.types.ObjectClass;
 
-import static org.opends.server.loggers.Debug.*;
 import static org.opends.server.util.ServerConstants.*;
 
 
@@ -57,11 +56,6 @@
 public class BackendMonitor
        extends MonitorProvider
 {
-  /**
-   * The fully-qualified name of this class for debugging purposes.
-   */
-  private static final String CLASS_NAME =
-       "org.opends.server.monitors.BackendMonitor";
 
 
 
@@ -99,7 +93,6 @@
   {
     super(backend.getBackendID() + " Backend");
 
-    assert debugConstructor(CLASS_NAME, String.valueOf(backend));
 
     this.backend = backend;
   }
@@ -111,8 +104,6 @@
    */
   public void initializeMonitorProvider(ConfigEntry configEntry)
   {
-    assert debugEnter(CLASS_NAME, "initializeMonitorProvider",
-                      String.valueOf(configEntry));
 
     monitorName = backend.getBackendID() + " Backend";
 
@@ -142,7 +133,6 @@
    */
   public String getMonitorInstanceName()
   {
-    assert debugEnter(CLASS_NAME, "getMonitorInstanceName");
 
     return monitorName;
   }
@@ -158,7 +148,6 @@
    */
   public ObjectClass getMonitorObjectClass()
   {
-    assert debugEnter(CLASS_NAME, "getMonitorObjectClass");
 
     return DirectoryConfig.getObjectClass(OC_MONITOR_BACKEND, true);
   }
@@ -170,7 +159,6 @@
    */
   public long getUpdateInterval()
   {
-    assert debugEnter(CLASS_NAME, "getUpdateInterval");
 
     // We don't need do anything on a periodic basis.
     return 0;
@@ -183,7 +171,6 @@
    */
   public void updateMonitorData()
   {
-    assert debugEnter(CLASS_NAME, "updateMonitorData");
 
     // No implementaiton is required.
   }
@@ -195,7 +182,6 @@
    */
   public List<Attribute> getMonitorData()
   {
-    assert debugEnter(CLASS_NAME, "getMonitorData");
 
     LinkedList<Attribute> attrs = new LinkedList<Attribute>();
 

--
Gitblit v1.10.0