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/controls/AuthorizationIdentityResponseControl.java | 32 +-------------------------------
1 files changed, 1 insertions(+), 31 deletions(-)
diff --git a/opends/src/server/org/opends/server/controls/AuthorizationIdentityResponseControl.java b/opends/src/server/org/opends/server/controls/AuthorizationIdentityResponseControl.java
index 2021e97..99d9646 100644
--- a/opends/src/server/org/opends/server/controls/AuthorizationIdentityResponseControl.java
+++ b/opends/src/server/org/opends/server/controls/AuthorizationIdentityResponseControl.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.controls;
@@ -34,11 +34,9 @@
import org.opends.server.types.Control;
import org.opends.server.types.DN;
-import static org.opends.server.loggers.Debug.*;
import static org.opends.server.messages.MessageHandler.*;
import static org.opends.server.messages.ProtocolMessages.*;
import static org.opends.server.util.ServerConstants.*;
-import static org.opends.server.util.StaticUtils.*;
@@ -51,11 +49,6 @@
public class AuthorizationIdentityResponseControl
extends Control
{
- /**
- * The fully-qualified name of this class for debugging purposes.
- */
- private static final String CLASS_NAME =
- "org.opends.server.controls.AuthorizationIdentityResponseControl";
@@ -72,7 +65,6 @@
{
super(OID_AUTHZID_RESPONSE, false, new ASN1OctetString());
- assert debugConstructor(CLASS_NAME);
}
@@ -87,7 +79,6 @@
{
super(OID_AUTHZID_RESPONSE, false, encodeValue(authorizationID));
- assert debugConstructor(CLASS_NAME, String.valueOf(authorizationID));
this.authorizationID = authorizationID;
}
@@ -104,7 +95,6 @@
{
super(OID_AUTHZID_RESPONSE, false, encodeValue(authorizationDN));
- assert debugConstructor(CLASS_NAME, String.valueOf(authorizationDN));
if (authorizationDN == null)
{
@@ -133,9 +123,6 @@
{
super(oid, isCritical, encodeValue(authorizationID));
- assert debugConstructor(CLASS_NAME, String.valueOf(oid),
- String.valueOf(isCritical),
- String.valueOf(authorizationID));
this.authorizationID = authorizationID;
}
@@ -157,9 +144,6 @@
{
super(oid, isCritical, encodeValue(authorizationDN));
- assert debugConstructor(CLASS_NAME, String.valueOf(oid),
- String.valueOf(isCritical),
- String.valueOf(authorizationDN));
if (authorizationDN == null)
{
@@ -190,10 +174,6 @@
{
super(oid, isCritical, encodedValue);
- assert debugConstructor(CLASS_NAME, String.valueOf(oid),
- String.valueOf(isCritical),
- String.valueOf(authorizationID),
- String.valueOf(encodedValue));
this.authorizationID = authorizationID;
}
@@ -211,8 +191,6 @@
*/
private static ASN1OctetString encodeValue(String authorizationID)
{
- assert debugEnter(CLASS_NAME, "encodeValue",
- String.valueOf(authorizationID));
return new ASN1OctetString(authorizationID);
@@ -231,8 +209,6 @@
*/
private static ASN1OctetString encodeValue(DN authorizationDN)
{
- assert debugEnter(CLASS_NAME, "encodeValue",
- String.valueOf(authorizationDN));
if (authorizationDN == null)
@@ -264,7 +240,6 @@
Control control)
throws LDAPException
{
- assert debugEnter(CLASS_NAME, "decodeControl", String.valueOf(control));
if (! control.hasValue())
@@ -290,7 +265,6 @@
*/
public String getAuthorizationID()
{
- assert debugEnter(CLASS_NAME, "getAuthorizationID");
return authorizationID;
}
@@ -306,8 +280,6 @@
*/
public void setAuthorizationID(String authorizationID)
{
- assert debugEnter(CLASS_NAME, "setAuthorizationID",
- String.valueOf(authorizationID));
this.authorizationID = authorizationID;
setValue(encodeValue(authorizationID));
@@ -324,7 +296,6 @@
*/
public String toString()
{
- assert debugEnter(CLASS_NAME, "toString");
StringBuilder buffer = new StringBuilder();
toString(buffer);
@@ -341,7 +312,6 @@
*/
public void toString(StringBuilder buffer)
{
- assert debugEnter(CLASS_NAME, "toString", "java.lang.StringBuilder");
buffer.append("AuthorizationIdentityResponseControl(authzID=\"");
buffer.append(authorizationID);
--
Gitblit v1.10.0