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/authorization/BasicAccessControlProvider.java | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/opends/src/server/org/opends/server/authorization/BasicAccessControlProvider.java b/opends/src/server/org/opends/server/authorization/BasicAccessControlProvider.java
index e811a4e..491dc45 100644
--- a/opends/src/server/org/opends/server/authorization/BasicAccessControlProvider.java
+++ b/opends/src/server/org/opends/server/authorization/BasicAccessControlProvider.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.authorization;
-import static org.opends.server.loggers.Debug.debugConstructor;
-import static org.opends.server.loggers.Debug.debugEnter;
-
import org.opends.server.api.AccessControlHandler;
import org.opends.server.api.AccessControlProvider;
import org.opends.server.config.ConfigEntry;
@@ -43,9 +40,6 @@
*/
public class BasicAccessControlProvider implements
AccessControlProvider {
- // Fully qualified class name for debugging purposes.
- private static final String CLASS_NAME =
- "org.opends.server.authorization.BasicAccessControlProvider";
/**
* The single handler instance.
@@ -58,7 +52,6 @@
public BasicAccessControlProvider() {
super();
- assert debugConstructor(CLASS_NAME);
// No implementation required.
}
@@ -68,7 +61,6 @@
*/
public void initializeAccessControlHandler(ConfigEntry configEntry)
throws ConfigException, InitializationException {
- assert debugEnter(CLASS_NAME, "initializeAccessControlHandler");
// Avoid potential race conditions constructing the handler instance
// and create it here.
@@ -79,7 +71,6 @@
* {@inheritDoc}
*/
public void finalizeAccessControlHandler() {
- assert debugEnter(CLASS_NAME, "finalizeAccessControlHandler");
// No implementation required.
}
@@ -88,7 +79,6 @@
* {@inheritDoc}
*/
public AccessControlHandler getInstance() {
- assert debugEnter(CLASS_NAME, "getInstance");
if (instance == null) {
instance = new BasicAccessControlHandler();
--
Gitblit v1.10.0