You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/04/26 12:24:13 UTC

[2/4] camel git commit: Fixed CS

Fixed CS


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

Branch: refs/heads/kube-lb
Commit: 27bba78ea5c1690e218d15449fce3da02f1351c6
Parents: 68eb0db
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Apr 26 12:02:17 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Apr 26 12:02:17 2016 +0200

----------------------------------------------------------------------
 .../camel/impl/EndpointRegistryKeepRouteEndpointsTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/27bba78e/camel-core/src/test/java/org/apache/camel/impl/EndpointRegistryKeepRouteEndpointsTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/EndpointRegistryKeepRouteEndpointsTest.java b/camel-core/src/test/java/org/apache/camel/impl/EndpointRegistryKeepRouteEndpointsTest.java
index db6e734..d0894f8 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/EndpointRegistryKeepRouteEndpointsTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/EndpointRegistryKeepRouteEndpointsTest.java
@@ -56,11 +56,11 @@ public class EndpointRegistryKeepRouteEndpointsTest extends ContextTestSupport {
         int count = 0;
         for (int i = 0; i < 50; i++) {
             String uri = "mock://unknown" + i;
-            if (context.hasEndpoint(uri)  != null) {
+            if (context.hasEndpoint(uri) != null) {
                 count++;
                 // and it should be dynamic
                 assertTrue(context.getEndpointRegistry().isDynamic(uri));
-            };
+            }
         }
         assertEquals("Should only be 20 dynamic endpoints in the cache", 20, count);