camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1326145 - /camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatConcurrentTest.java
Date Sat, 14 Apr 2012 16:51:40 GMT
Author: bvahdat
Date: Sat Apr 14 16:51:40 2012
New Revision: 1326145

URL: http://svn.apache.org/viewvc?rev=1326145&view=rev
Log:
Polished.

Modified:
    camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatConcurrentTest.java

Modified: camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatConcurrentTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatConcurrentTest.java?rev=1326145&r1=1326144&r2=1326145&view=diff
==============================================================================
--- camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatConcurrentTest.java
(original)
+++ camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatConcurrentTest.java
Sat Apr 14 16:51:40 2012
@@ -35,15 +35,11 @@ import org.apache.camel.test.junit4.Came
 
 import org.junit.Test;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 /**
  * @version
  */
 public class DataFormatConcurrentTest extends CamelTestSupport {
 
-    private static final Logger LOG = LoggerFactory.getLogger(DataFormatConcurrentTest.class);
     private int size = 2000;
     private int warmupCount = 100;
     private int testCycleCount = 10000;
@@ -188,7 +184,7 @@ public class DataFormatConcurrentTest ex
         latch.await();
         long end = System.currentTimeMillis();
 
-        LOG.info("Sending {} messages to {} took {} ms", new Object[] {payloads.length, template.getDefaultEndpoint().getEndpointUri(),
end - start});
+        log.info("Sending {} messages to {} took {} ms", new Object[] {payloads.length, template.getDefaultEndpoint().getEndpointUri(),
end - start});
     }
 
     public void marshal(final CountDownLatch latch) throws Exception {
@@ -213,7 +209,7 @@ public class DataFormatConcurrentTest ex
         latch.await();
         long end = System.currentTimeMillis();
 
-        LOG.info("Sending {} messages to {} took {} ms", new Object[] {payloads.length, template.getDefaultEndpoint().getEndpointUri(),
end - start});
+        log.info("Sending {} messages to {} took {} ms", new Object[] {payloads.length, template.getDefaultEndpoint().getEndpointUri(),
end - start});
     }
 
     /**



Mime
View raw message