camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzurow...@apache.org
Subject [camel] branch camel-2.19.x updated: Fix Checkstyle issues
Date Sun, 18 Mar 2018 09:50:57 GMT
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 <gregor@zurowski.org>
AuthorDate: Sun Mar 18 10:50:05 2018 +0100

    Fix Checkstyle issues
    
    Signed-off-by: Gregor Zurowski <gregor@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.

Mime
View raw message