You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2018/03/18 09:50:57 UTC

[camel] branch camel-2.19.x updated: Fix Checkstyle issues

This is an automated email from the ASF dual-hosted git repository.

gzurowski pushed a commit to branch camel-2.19.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.19.x by this push:
     new 9b30472  Fix Checkstyle issues
9b30472 is described below

commit 9b30472c7936543b348a677a2e18256ab5403f05
Author: Gregor Zurowski <gr...@zurowski.org>
AuthorDate: Sun Mar 18 10:50:05 2018 +0100

    Fix Checkstyle issues
    
    Signed-off-by: Gregor Zurowski <gr...@zurowski.org>
---
 .../test/java/org/apache/camel/impl/ProducerCacheNonSingletonTest.java  | 2 +-
 .../camel/issues/SplitterParallelRuntimeExceptionInHasNextOrNext.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/camel-core/src/test/java/org/apache/camel/impl/ProducerCacheNonSingletonTest.java b/camel-core/src/test/java/org/apache/camel/impl/ProducerCacheNonSingletonTest.java
index d588cbc..4f4baf7 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/ProducerCacheNonSingletonTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/ProducerCacheNonSingletonTest.java
@@ -85,7 +85,7 @@ public class ProducerCacheNonSingletonTest extends ContextTestSupport {
 
     private class MyDummyProducer extends DefaultProducer {
 
-        public MyDummyProducer(Endpoint endpoint) {
+        MyDummyProducer(Endpoint endpoint) {
             super(endpoint);
         }
 
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
gzurowski@apache.org.