From 4783adc14c2d6b96260052d3b634eafa500c6ddf 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.
---
opendj-sdk/opends/src/server/org/opends/server/schema/OtherMailboxSyntax.java | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/schema/OtherMailboxSyntax.java b/opendj-sdk/opends/src/server/org/opends/server/schema/OtherMailboxSyntax.java
index e088189..e9dc274 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/schema/OtherMailboxSyntax.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/schema/OtherMailboxSyntax.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.schema;
@@ -40,7 +40,6 @@
import org.opends.server.types.ErrorLogCategory;
import org.opends.server.types.ErrorLogSeverity;
-import static org.opends.server.loggers.Debug.*;
import static org.opends.server.loggers.Error.*;
import static org.opends.server.messages.MessageHandler.*;
import static org.opends.server.messages.SchemaMessages.*;
@@ -57,11 +56,6 @@
public class OtherMailboxSyntax
extends AttributeSyntax
{
- /**
- * The fully-qualified name of this class for debugging purposes.
- */
- private static final String CLASS_NAME =
- "org.opends.server.schema.OtherMailboxSyntax";
@@ -83,7 +77,6 @@
{
super();
- assert debugConstructor(CLASS_NAME);
}
@@ -101,8 +94,6 @@
public void initializeSyntax(ConfigEntry configEntry)
throws ConfigException
{
- assert debugEnter(CLASS_NAME, "initializeSyntax",
- String.valueOf(configEntry));
defaultEqualityMatchingRule =
DirectoryServer.getEqualityMatchingRule(EMR_CASE_IGNORE_LIST_OID);
@@ -132,7 +123,6 @@
*/
public String getSyntaxName()
{
- assert debugEnter(CLASS_NAME, "getSyntaxName");
return SYNTAX_OTHER_MAILBOX_NAME;
}
@@ -146,7 +136,6 @@
*/
public String getOID()
{
- assert debugEnter(CLASS_NAME, "getOID");
return SYNTAX_OTHER_MAILBOX_OID;
}
@@ -160,7 +149,6 @@
*/
public String getDescription()
{
- assert debugEnter(CLASS_NAME, "getDescription");
return SYNTAX_OTHER_MAILBOX_DESCRIPTION;
}
@@ -177,7 +165,6 @@
*/
public EqualityMatchingRule getEqualityMatchingRule()
{
- assert debugEnter(CLASS_NAME, "getEqualityMatchingRule");
return defaultEqualityMatchingRule;
}
@@ -194,7 +181,6 @@
*/
public OrderingMatchingRule getOrderingMatchingRule()
{
- assert debugEnter(CLASS_NAME, "getOrderingMatchingRule");
// Ordering matching is not allowed by default.
return null;
@@ -212,7 +198,6 @@
*/
public SubstringMatchingRule getSubstringMatchingRule()
{
- assert debugEnter(CLASS_NAME, "getSubstringMatchingRule");
return defaultSubstringMatchingRule;
}
@@ -229,7 +214,6 @@
*/
public ApproximateMatchingRule getApproximateMatchingRule()
{
- assert debugEnter(CLASS_NAME, "getApproximateMatchingRule");
// Approximate matching is not allowed by default.
return null;
@@ -252,8 +236,6 @@
public boolean valueIsAcceptable(ByteString value,
StringBuilder invalidReason)
{
- assert debugEnter(CLASS_NAME, "valueIsAcceptable", String.valueOf(value),
- "java.lang.StringBuilder");
// Check to see if the provided value was null. If so, then that's not
--
Gitblit v1.10.0