directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r742041 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncRequestValue/SyncRequestValueControlGrammar.java
Date Sun, 08 Feb 2009 10:37:51 GMT
Author: elecharny
Date: Sun Feb  8 10:37:51 2009
New Revision: 742041

URL: http://svn.apache.org/viewvc?rev=742041&view=rev
Log:
Replaced log by LOG as it is a static member

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncRequestValue/SyncRequestValueControlGrammar.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncRequestValue/SyncRequestValueControlGrammar.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncRequestValue/SyncRequestValueControlGrammar.java?rev=742041&r1=742040&r2=742041&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncRequestValue/SyncRequestValueControlGrammar.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncRequestValue/SyncRequestValueControlGrammar.java
Sun Feb  8 10:37:51 2009
@@ -62,10 +62,10 @@
 public class SyncRequestValueControlGrammar extends AbstractGrammar
 {
     /** The logger */
-    static final Logger log = LoggerFactory.getLogger( SyncRequestValueControlGrammar.class
);
+    static final Logger LOG = LoggerFactory.getLogger( SyncRequestValueControlGrammar.class
);
 
     /** Speedup for logs */
-    static final boolean IS_DEBUG = log.isDebugEnabled();
+    static final boolean IS_DEBUG = LOG.isDebugEnabled();
 
     /** The instance of grammar. SyncRequestValueControlGrammar is a singleton */
     private static IGrammar instance = new SyncRequestValueControlGrammar();
@@ -139,7 +139,7 @@
                         
                         if ( IS_DEBUG )
                         {
-                            log.debug( "Mode = " + modeEnum );
+                            LOG.debug( "Mode = " + modeEnum );
                         }
 
                         SyncRequestValueContainer.getSyncRequestValueControl().setMode( modeEnum
);
@@ -150,7 +150,7 @@
                     catch ( IntegerDecoderException e )
                     {
                         String msg = "failed to decode the mode for SyncRequestValueControl";
-                        log.error( msg, e );
+                        LOG.error( msg, e );
                         throw new DecoderException( msg );
                     }
                 }
@@ -180,7 +180,7 @@
 
                     if ( IS_DEBUG )
                     {
-                        log.debug( "cookie = " + StringTools.dumpBytes( cookie ) );
+                        LOG.debug( "cookie = " + StringTools.dumpBytes( cookie ) );
                     }
 
                     SyncRequestValueContainer.getSyncRequestValueControl().setCookie( cookie
);
@@ -216,7 +216,7 @@
 
                         if ( IS_DEBUG )
                         {
-                            log.debug( "reloadHint = " + reloadHint );
+                            LOG.debug( "reloadHint = " + reloadHint );
                         }
 
                         SyncRequestValueContainer.getSyncRequestValueControl().setReloadHint(
reloadHint );
@@ -227,7 +227,7 @@
                     catch ( BooleanDecoderException e )
                     {
                         String msg = "failed to decode the reloadHint flag for SyncRequestValueControl";
-                        log.error( msg, e );
+                        LOG.error( msg, e );
                         throw new DecoderException( msg );
                     }
                 }
@@ -259,7 +259,7 @@
 
                         if ( IS_DEBUG )
                         {
-                            log.debug( "reloadHint = " + reloadHint );
+                            LOG.debug( "reloadHint = " + reloadHint );
                         }
 
                         SyncRequestValueContainer.getSyncRequestValueControl().setReloadHint(
reloadHint );
@@ -270,7 +270,7 @@
                     catch ( BooleanDecoderException e )
                     {
                         String msg = "failed to decode the reloadHint flag for SyncRequestValueControl";
-                        log.error( msg, e );
+                        LOG.error( msg, e );
                         throw new DecoderException( msg );
                     }
                 }



Mime
View raw message