camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject [1/2] camel git commit: Fix CS
Date Thu, 22 Jun 2017 17:08:51 GMT
Repository: camel
Updated Branches:
  refs/heads/master 5a7a671c0 -> b42ce8574


Fix CS


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

Branch: refs/heads/master
Commit: b42ce8574b6bef46359165f935aaf14ee409b832
Parents: 68113f7
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Thu Jun 22 19:08:20 2017 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Thu Jun 22 19:08:33 2017 +0200

----------------------------------------------------------------------
 .../infinispan/policy/InfinispanRoutePolicyTestBase.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b42ce857/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/policy/InfinispanRoutePolicyTestBase.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/policy/InfinispanRoutePolicyTestBase.java
b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/policy/InfinispanRoutePolicyTestBase.java
index 43abf8f..18376ad 100644
--- a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/policy/InfinispanRoutePolicyTestBase.java
+++ b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/policy/InfinispanRoutePolicyTestBase.java
@@ -25,8 +25,8 @@ import org.junit.Assert;
 import org.junit.Test;
 
 abstract class InfinispanRoutePolicyTestBase {
-    private final static String CACHE_NAME = "camel-route-policy";
-    private final static String CACHE_KEY = "route-policy";
+    private static final String CACHE_NAME = "camel-route-policy";
+    private static final String CACHE_KEY = "route-policy";
 
     protected abstract BasicCacheContainer createCacheManager() throws Exception;
 
@@ -56,7 +56,7 @@ abstract class InfinispanRoutePolicyTestBase {
 
             context.addRouteDefinition(RouteDefinition.fromUri("direct:r1").routePolicy(policy1).to("mock:p1"));
 
-            for (int i=0; i < 10 && !policy1.isLeader(); i++) {
+            for (int i = 0; i < 10 && !policy1.isLeader(); i++) {
                 Thread.sleep(250);
             }
 


Mime
View raw message