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/SubtreeSpecificationSet.java | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/SubtreeSpecificationSet.java b/opends/src/server/org/opends/server/api/SubtreeSpecificationSet.java
index bed99a3..dc49ed0 100644
--- a/opends/src/server/org/opends/server/api/SubtreeSpecificationSet.java
+++ b/opends/src/server/org/opends/server/api/SubtreeSpecificationSet.java
@@ -22,13 +22,10 @@
* CDDL HEADER END
*
*
- * Portions Copyright 2006 Sun Microsystems, Inc.
+ * Portions Copyright 2006-2007 Sun Microsystems, Inc.
*/
package org.opends.server.api;
-import static org.opends.server.loggers.Debug.debugConstructor;
-import static org.opends.server.loggers.Debug.debugEnter;
-
import java.util.AbstractSet;
import java.util.Collection;
import java.util.HashSet;
@@ -47,9 +44,6 @@
*/
public final class SubtreeSpecificationSet extends
AbstractSet<SubtreeSpecification> {
- // Fully qualified class name for debugging purposes.
- private static final String CLASS_NAME =
- SubtreeSpecificationSet.class.getName();
// Underlying implementation is simply a set.
private HashSet<SubtreeSpecification> pimpl;
@@ -58,7 +52,6 @@
* Constructs a new empty subtree specification set.
*/
public SubtreeSpecificationSet() {
- assert debugConstructor(CLASS_NAME);
this.pimpl = new HashSet<SubtreeSpecification>();
}
@@ -73,7 +66,6 @@
*/
public SubtreeSpecificationSet(
Collection<? extends SubtreeSpecification> c) {
- assert debugConstructor(CLASS_NAME);
this.pimpl = new HashSet<SubtreeSpecification>(c);
}
@@ -88,7 +80,6 @@
* specified entry.
*/
public boolean isWithinScope(Entry entry) {
- assert debugEnter(CLASS_NAME, "contains");
for (SubtreeSpecification subtreeSpecification : pimpl) {
if (subtreeSpecification.isWithinScope(entry)) {
@@ -104,7 +95,6 @@
*/
@Override
public boolean add(SubtreeSpecification e) {
- assert debugEnter(CLASS_NAME, "add");
return pimpl.add(e);
}
@@ -114,7 +104,6 @@
*/
@Override
public Iterator<SubtreeSpecification> iterator() {
- assert debugEnter(CLASS_NAME, "iterator");
return pimpl.iterator();
}
@@ -124,7 +113,6 @@
*/
@Override
public boolean contains(Object o) {
- assert debugEnter(CLASS_NAME, "contains");
return pimpl.contains(o);
}
@@ -134,7 +122,6 @@
*/
@Override
public int size() {
- assert debugEnter(CLASS_NAME, "size");
return pimpl.size();
}
--
Gitblit v1.10.0