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/util/AddChangeRecordEntry.java |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/opends/src/server/org/opends/server/util/AddChangeRecordEntry.java b/opends/src/server/org/opends/server/util/AddChangeRecordEntry.java
index f73bf62..711ddc9 100644
--- a/opends/src/server/org/opends/server/util/AddChangeRecordEntry.java
+++ b/opends/src/server/org/opends/server/util/AddChangeRecordEntry.java
@@ -22,14 +22,10 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2006 Sun Microsystems, Inc.
+ *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.util;
 
-
-
-import static org.opends.server.loggers.Debug.debugConstructor;
-import static org.opends.server.loggers.Debug.debugEnter;
 import static org.opends.server.util.Validator.*;
 
 import java.util.ArrayList;
@@ -50,12 +46,6 @@
  */
 public final class AddChangeRecordEntry extends ChangeRecordEntry
 {
-  /**
-   * The fully-qualified name of this class for debugging purposes.
-   */
-  private static final String CLASS_NAME =
-      "org.opends.server.util.AddChangeRecordEntry";
-
 
   /**
    * The entry attributes for this operation.
@@ -79,8 +69,6 @@
   {
     super(dn);
 
-    assert debugConstructor(CLASS_NAME, String.valueOf(dn),
-                            String.valueOf(attributes));
 
     ensureNotNull(attributes);
 
@@ -104,7 +92,6 @@
    */
   public ChangeOperationType getChangeOperationType()
   {
-    assert debugEnter(CLASS_NAME, "getChangeOperationType");
 
     return ChangeOperationType.ADD;
   }
@@ -120,7 +107,6 @@
    */
   public List<Attribute> getAttributes()
   {
-    assert debugEnter(CLASS_NAME, "getAttributes");
 
     return Collections.unmodifiableList(attributes);
   }

--
Gitblit v1.10.0