camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: Fixed the CS errors of camel-core
Date Tue, 02 Sep 2014 02:00:08 GMT
Repository: camel
Updated Branches:
  refs/heads/master 12e62a0ee -> 96801b3ae


Fixed the CS errors of camel-core


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/96801b3a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/96801b3a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/96801b3a

Branch: refs/heads/master
Commit: 96801b3aef0743ac073684a95f37ab9f6e383141
Parents: 12e62a0
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Sep 2 09:59:56 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Sep 2 09:59:56 2014 +0800

----------------------------------------------------------------------
 .../java/org/apache/camel/component/bean/BeanNoCacheTest.java    | 4 ++--
 .../java/org/apache/camel/component/bean/BeanRefNoCacheTest.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/96801b3a/camel-core/src/test/java/org/apache/camel/component/bean/BeanNoCacheTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/bean/BeanNoCacheTest.java
b/camel-core/src/test/java/org/apache/camel/component/bean/BeanNoCacheTest.java
index 11a3f0d..c01ccd0 100644
--- a/camel-core/src/test/java/org/apache/camel/component/bean/BeanNoCacheTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/bean/BeanNoCacheTest.java
@@ -26,7 +26,7 @@ import org.apache.camel.builder.RouteBuilder;
  */
 public class BeanNoCacheTest extends ContextTestSupport {
 
-    private static final AtomicInteger counter = new AtomicInteger();
+    private static final AtomicInteger COUNTER = new AtomicInteger();
 
     public void testBeanRefNoCache() throws Exception {
         getMockEndpoint("mock:result").expectedBodiesReceived("Hello1", "Bye2", "Camel3");
@@ -55,7 +55,7 @@ public class BeanNoCacheTest extends ContextTestSupport {
         private final int count;
 
         public MyCoolBean() {
-            count = counter.incrementAndGet();
+            count = COUNTER.incrementAndGet();
         }
 
         public int getCount() {

http://git-wip-us.apache.org/repos/asf/camel/blob/96801b3a/camel-core/src/test/java/org/apache/camel/component/bean/BeanRefNoCacheTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/bean/BeanRefNoCacheTest.java
b/camel-core/src/test/java/org/apache/camel/component/bean/BeanRefNoCacheTest.java
index bff02a7..db2b4a9 100644
--- a/camel-core/src/test/java/org/apache/camel/component/bean/BeanRefNoCacheTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/bean/BeanRefNoCacheTest.java
@@ -26,7 +26,7 @@ import org.apache.camel.builder.RouteBuilder;
  */
 public class BeanRefNoCacheTest extends ContextTestSupport {
 
-    private static final AtomicInteger counter = new AtomicInteger();
+    private static final AtomicInteger COUNTER = new AtomicInteger();
 
     public void testBeanRefNoCache() throws Exception {
         getMockEndpoint("mock:result").expectedBodiesReceived("Hello1", "Bye2", "Camel3");
@@ -55,7 +55,7 @@ public class BeanRefNoCacheTest extends ContextTestSupport {
         private final int count;
 
         public MyCoolBean() {
-            count = counter.incrementAndGet();
+            count = COUNTER.incrementAndGet();
         }
 
         public int getCount() {


Mime
View raw message