Rename static final variable 'logger' to 'LOG'
[lispflowmapping.git] / commons / unittest_tools / src / main / java / org / opendaylight / lispflowmapping / tools / junit / BaseExpectations.java
index 26562a48fd0906ad5ca4c3d77b0bb664fb1af1bc..ecc09a8864b9b789998d78f2ec5df22e2ea3d49f 100644 (file)
@@ -40,7 +40,7 @@ public class BaseExpectations extends Expectations {
     protected Mockery context;
     protected boolean showAllExpectations;
     private final Synchroniser synchroniser = new Synchroniser();
-    protected static final Logger logger = LoggerFactory.getLogger(BaseExpectations.class);
+    protected static final Logger LOG = LoggerFactory.getLogger(BaseExpectations.class);
 
     @Before
     public void before() throws Exception {
@@ -235,7 +235,7 @@ public class BaseExpectations extends Expectations {
             values.add(lastValue);
             boolean match = match(lastValue);
             if (match && (logMatch != null)) {
-                logger.trace("Match: " + logMatch + " " + value);
+                LOG.trace("Match: " + logMatch + " " + value);
             }
             return match;
         }
@@ -261,7 +261,7 @@ public class BaseExpectations extends Expectations {
 
         public Object invoke(Invocation invocation) throws Throwable {
             if (logInvocation) {
-                logger.trace("Invoke: returning " + lastValue);
+                LOG.trace("Invoke: returning " + lastValue);
             }
             return lastValue;
         }
@@ -423,4 +423,4 @@ public class BaseExpectations extends Expectations {
         return ret;
     }
 
-}
\ No newline at end of file
+}