From 455897cc245b67d929f409a93cfa7106e835cc1f 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. 

---
 opends/src/server/org/opends/server/api/ConnectionHandler.java |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/opends/src/server/org/opends/server/api/ConnectionHandler.java b/opends/src/server/org/opends/server/api/ConnectionHandler.java
index fde92b8..00c6f7c 100644
--- a/opends/src/server/org/opends/server/api/ConnectionHandler.java
+++ b/opends/src/server/org/opends/server/api/ConnectionHandler.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.api;
 
@@ -35,7 +35,6 @@
 import org.opends.server.types.HostPort;
 import org.opends.server.types.InitializationException;
 
-import static org.opends.server.loggers.Debug.*;
 
 
 
@@ -46,11 +45,6 @@
 public abstract class ConnectionHandler
        extends DirectoryThread
 {
-  /**
-   * The fully-qualified name of this class for debugging purposes.
-   */
-  private static final String CLASS_NAME =
-       "org.opends.server.api.ConnectionHandler";
 
 
 
@@ -71,7 +65,6 @@
   {
     super(threadName);
 
-    assert debugConstructor(CLASS_NAME, String.valueOf(threadName));
     monitor = null;
   }
 
@@ -186,7 +179,6 @@
    */
   public ConnectionHandlerMonitor getConnectionHandlerMonitor()
   {
-    assert debugEnter(CLASS_NAME, "getConnectionHandlerMonitor");
 
     return monitor;
   }
@@ -202,8 +194,6 @@
   public void setConnectionHandlerMonitor(
                    ConnectionHandlerMonitor monitor)
   {
-    assert debugEnter(CLASS_NAME, "setConnectionHandlerMonitor",
-                      String.valueOf(monitor));
 
     this.monitor = monitor;
   }
@@ -217,7 +207,6 @@
    */
   public String toString()
   {
-    assert debugEnter(CLASS_NAME, "toString");
 
     StringBuilder buffer = new StringBuilder();
     toString(buffer);

--
Gitblit v1.10.0