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 2018/01/21 10:28:04 UTC
[camel] 02/03: Fixed CS
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-2.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5ed789149edeb8f90b3d694198eb7cbbc9b9e96a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Jan 21 11:15:27 2018 +0100
Fixed CS
---
.../org/apache/camel/impl/cloud/ServiceCallConfigurationTest.java | 4 ++--
.../camel/issues/SplitterParallelRuntimeExceptionInHasNextOrNext.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/camel-core/src/test/java/org/apache/camel/impl/cloud/ServiceCallConfigurationTest.java b/camel-core/src/test/java/org/apache/camel/impl/cloud/ServiceCallConfigurationTest.java
index 94763fe..fd84be6 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/cloud/ServiceCallConfigurationTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/cloud/ServiceCallConfigurationTest.java
@@ -43,8 +43,8 @@ public class ServiceCallConfigurationTest {
@Test
public void testDynamicUri() throws Exception {
StaticServiceDiscovery sd = new StaticServiceDiscovery();
- sd.addServer("scall","127.0.0.1", 8080);
- sd.addServer("scall","127.0.0.1", 8081);
+ sd.addServer("scall", "127.0.0.1", 8080);
+ sd.addServer("scall", "127.0.0.1", 8081);
ServiceCallConfigurationDefinition conf = new ServiceCallConfigurationDefinition();
conf.setServiceDiscovery(sd);
diff --git a/camel-core/src/test/java/org/apache/camel/issues/SplitterParallelRuntimeExceptionInHasNextOrNext.java b/camel-core/src/test/java/org/apache/camel/issues/SplitterParallelRuntimeExceptionInHasNextOrNext.java
index 5eeafd2..7f46e3a 100644
--- a/camel-core/src/test/java/org/apache/camel/issues/SplitterParallelRuntimeExceptionInHasNextOrNext.java
+++ b/camel-core/src/test/java/org/apache/camel/issues/SplitterParallelRuntimeExceptionInHasNextOrNext.java
@@ -100,7 +100,7 @@ public class SplitterParallelRuntimeExceptionInHasNextOrNext extends ContextTest
static class CustomIterator implements Iterator<String>, Closeable {
- private int index = 0;
+ private int index;
private InputStream request;
private boolean errorInHasNext;
--
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.