directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1039715 - in /directory: apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/ apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/actions/ shared/t...
Date Sat, 27 Nov 2010 18:19:30 GMT
Author: elecharny
Date: Sat Nov 27 18:19:29 2010
New Revision: 1039715

URL: http://svn.apache.org/viewvc?rev=1039715&view=rev
Log:
Moved back to the class name for the logger. We probably can use a MDC context name to manage
the logs.

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadAuthorizationData.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadCheckSum.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptedPart.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptionKey.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddress.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddresses.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadKerberosTime.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPrincipalName.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPvno.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadRealm.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/actions/AddHostAddress.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadByteArray.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadInteger.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/CheckNotNullLength.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadAuthorizationData.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadAuthorizationData.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadAuthorizationData.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadAuthorizationData.java
Sat Nov 27 18:19:29 2010
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadAuthorizationData extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadAuthorizationData.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadCheckSum.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadCheckSum.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadCheckSum.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadCheckSum.java
Sat Nov 27 18:19:29 2010
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadCheckSum extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadCheckSum.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptedPart.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptedPart.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptedPart.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptedPart.java
Sat Nov 27 18:19:29 2010
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadEncryptedPart extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadEncryptedPart.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptionKey.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptionKey.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptionKey.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadEncryptionKey.java
Sat Nov 27 18:19:29 2010
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadEncryptionKey extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadEncryptionKey.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddress.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddress.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddress.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddress.java
Sat Nov 27 18:19:29 2010
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadHostAddress extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadHostAddress.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddresses.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddresses.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddresses.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadHostAddresses.java
Sat Nov 27 18:19:29 2010
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadHostAddresses extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadHostAddresses.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadKerberosTime.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadKerberosTime.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadKerberosTime.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadKerberosTime.java
Sat Nov 27 18:19:29 2010
@@ -21,7 +21,6 @@ package org.apache.directory.shared.kerb
 
 
 import org.apache.directory.shared.asn1.ber.Asn1Container;
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.grammar.GrammarAction;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.ber.tlv.Value;
@@ -41,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadKerberosTime extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadKerberosTime.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java
Sat Nov 27 18:19:29 2010
@@ -21,7 +21,6 @@ package org.apache.directory.shared.kerb
 
 
 import org.apache.directory.shared.asn1.ber.Asn1Container;
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.grammar.GrammarAction;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.ber.tlv.Value;
@@ -43,7 +42,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadMsgType extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadMsgType.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPrincipalName.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPrincipalName.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPrincipalName.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPrincipalName.java
Sat Nov 27 18:19:29 2010
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadPrincipalName extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadPrincipalName.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPvno.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPvno.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPvno.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadPvno.java
Sat Nov 27 18:19:29 2010
@@ -21,7 +21,6 @@ package org.apache.directory.shared.kerb
 
 
 import org.apache.directory.shared.asn1.ber.Asn1Container;
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.grammar.GrammarAction;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.ber.tlv.Value;
@@ -42,7 +41,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadPvno extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadPvno.class );
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadRealm.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadRealm.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadRealm.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadRealm.java
Sat Nov 27 18:19:29 2010
@@ -21,7 +21,6 @@ package org.apache.directory.shared.kerb
 
 
 import org.apache.directory.shared.asn1.ber.Asn1Container;
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.grammar.GrammarAction;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.ber.tlv.Value;
@@ -40,7 +39,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadRealm extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadRealm.class );
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/actions/AddHostAddress.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/actions/AddHostAddress.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/actions/AddHostAddress.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/actions/AddHostAddress.java
Sat Nov 27 18:19:29 2010
@@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
 public class AddHostAddress extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AddHostAddress.class );
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
Sat Nov 27 18:19:29 2010
@@ -42,11 +42,8 @@ import org.slf4j.LoggerFactory;
 */
 public class Asn1Decoder implements TLVBerDecoderMBean
 {
-    /** A public constant used by all the ASN1 decoder */
-    public static final String ASN1_DECODER = "ASN1-DECODER";
-    
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.class );
 
     /** A speedup for logger */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadByteArray.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadByteArray.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadByteArray.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadByteArray.java
Sat Nov 27 18:19:29 2010
@@ -21,7 +21,6 @@ package org.apache.directory.shared.asn1
 
 
 import org.apache.directory.shared.asn1.ber.Asn1Container;
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.grammar.GrammarAction;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.codec.DecoderException;
@@ -39,7 +38,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadByteArray extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadByteArray.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadInteger.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadInteger.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadInteger.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/AbstractReadInteger.java
Sat Nov 27 18:19:29 2010
@@ -21,7 +21,6 @@ package org.apache.directory.shared.asn1
 
 
 import org.apache.directory.shared.asn1.ber.Asn1Container;
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.grammar.GrammarAction;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.ber.tlv.Value;
@@ -42,7 +41,7 @@ import org.slf4j.LoggerFactory;
 public abstract class AbstractReadInteger extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( AbstractReadInteger.class
);
 
     /** Speedup for logs */
     private static final boolean IS_DEBUG = LOG.isDebugEnabled();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/CheckNotNullLength.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/CheckNotNullLength.java?rev=1039715&r1=1039714&r2=1039715&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/CheckNotNullLength.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/codec/actions/CheckNotNullLength.java
Sat Nov 27 18:19:29 2010
@@ -21,7 +21,6 @@ package org.apache.directory.shared.asn1
 
 
 import org.apache.directory.shared.asn1.ber.Asn1Container;
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.grammar.GrammarAction;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
 import org.apache.directory.shared.asn1.codec.DecoderException;
@@ -38,7 +37,7 @@ import org.slf4j.LoggerFactory;
 public class CheckNotNullLength extends GrammarAction
 {
     /** The logger */
-    private static final Logger LOG = LoggerFactory.getLogger( Asn1Decoder.ASN1_DECODER );
+    private static final Logger LOG = LoggerFactory.getLogger( CheckNotNullLength.class );
 
     /**
      * Instantiates the action.



Mime
View raw message