camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject camel git commit: Only checkstyle fixes for the latest Eclipse checkstyle plugin
Date Fri, 26 Feb 2016 16:34:44 GMT
Repository: camel
Updated Branches:
  refs/heads/master 2fcdbb667 -> 0844722e3


Only checkstyle fixes for the latest Eclipse checkstyle plugin


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

Branch: refs/heads/master
Commit: 0844722e33162fee7e56bb0826fce09e51961a56
Parents: 2fcdbb6
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri Feb 26 11:14:54 2016 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Feb 26 11:14:54 2016 -0500

----------------------------------------------------------------------
 .../org/apache/camel/EndpointConfiguration.java     |  2 +-
 .../org/apache/camel/builder/ExpressionBuilder.java |  4 ++--
 .../properties/DefaultPropertiesParser.java         |  2 +-
 .../org/apache/camel/converter/IOConverter.java     |  4 ++--
 .../apache/camel/converter/jaxp/XmlConverter.java   | 12 ++++++------
 .../apache/camel/impl/DefaultExchangeHolder.java    | 16 ++++++++--------
 .../apache/camel/impl/DefaultShutdownStrategy.java  |  2 +-
 .../apache/camel/language/bean/BeanExpression.java  |  2 +-
 .../management/mbean/ManagedEventNotifier.java      | 12 ++++++------
 .../rest/RestOperationResponseHeaderDefinition.java |  6 +++---
 .../rest/RestOperationResponseMsgDefinition.java    |  6 +++---
 .../org/apache/camel/processor/BatchProcessor.java  |  2 +-
 .../camel/processor/DelayProcessorSupport.java      |  2 +-
 .../apache/camel/processor/MulticastProcessor.java  |  2 +-
 .../camel/processor/RedeliveryErrorHandler.java     |  2 +-
 .../org/apache/camel/processor/RoutingSlip.java     |  2 +-
 .../apache/camel/processor/StreamResequencer.java   |  2 +-
 .../apache/camel/processor/ThreadsProcessor.java    |  2 +-
 .../java/org/apache/camel/processor/Throttler.java  |  2 +-
 .../processor/idempotent/IdempotentConsumer.java    |  2 +-
 .../apache/camel/processor/resequencer/Element.java |  2 +-
 .../processor/resequencer/ElementComparator.java    |  2 +-
 .../main/java/org/apache/camel/spi/Container.java   |  2 +-
 .../org/apache/camel/spi/HeaderFilterStrategy.java  |  2 +-
 .../camel/support/XMLTokenExpressionIterator.java   | 14 +++++++-------
 .../org/apache/camel/util/CamelVersionHelper.java   |  4 ++--
 .../main/java/org/apache/camel/util/GZIPHelper.java |  2 +-
 .../camel/util/UnsafeUriCharactersEncoder.java      |  2 +-
 .../camel/util/component/ApiMethodHelper.java       |  2 +-
 .../concurrent/SubmitOrderedCompletionService.java  |  4 ++--
 .../util/toolbox/FlexibleAggregationStrategy.java   |  8 ++++----
 .../camel/builder/ErrorHandlerBuilderRefTest.java   |  2 +-
 .../component/file/FileProducerChmodOptionTest.java |  2 +-
 .../component/log/DefaultExchangeFormatterTest.java |  4 ++--
 .../component/seda/CollectionProducerTest.java      |  2 +-
 .../component/xslt/XsltUriResolverFactoryTest.java  |  2 +-
 .../converter/stream/CachedOutputStreamTest.java    | 10 +++++-----
 .../CamelContextSharedProducerServicePoolTest.java  |  2 +-
 .../camel/impl/CustomProducerServicePoolTest.java   |  2 +-
 .../camel/impl/CustomUnitOfWorkFactoryTest.java     |  2 +-
 .../apache/camel/impl/DefaultProducerCacheTest.java |  2 +-
 .../impl/HeaderFilterStrategyComponentTest.java     |  2 +-
 .../java/org/apache/camel/impl/ServicePoolTest.java |  2 +-
 .../org/apache/camel/impl/StringDataFormatTest.java |  2 +-
 .../apache/camel/issues/Camel4857UriIssueTest.java  |  2 +-
 .../camel/issues/CustomFailveOverProcessor.java     |  2 +-
 .../camel/issues/ServicePoolAwareLeakyTest.java     |  4 ++--
 .../camel/language/simple/SimpleOperatorTest.java   |  8 ++++----
 .../processor/ChoiceWhenBeanExpressionTest.java     |  2 +-
 .../ChoiceWhenBeanExpressionWithExceptionTest.java  |  2 +-
 ...dpoint2MustBeStartedBeforeSendProcessorTest.java |  4 ++--
 ...ndpointMustBeStartedBeforeSendProcessorTest.java |  4 ++--
 .../org/apache/camel/processor/MDCAsyncTest.java    |  2 +-
 .../camel/processor/StreamResequencerTest.java      |  2 +-
 .../TraceInterceptorSubclassFactory.java            |  2 +-
 .../validation/CatalogLSResourceResolver.java       |  2 +-
 .../camel/util/component/ApiMethodHelperTest.java   |  4 ++--
 .../apache/camel/core/osgi/OsgiServiceRegistry.java |  2 +-
 .../org/apache/camel/core/osgi/CamelMockBundle.java |  2 +-
 .../converter/JacksonConversionsPojoTest.java       |  1 -
 .../spi/BridgePropertyPlaceholderConfigurer.java    |  2 +-
 .../remoting/SpringRemotingBeanConverterTest.java   |  2 +-
 .../apache/camel/test/patterns/SimpleMockTest.java  |  6 +++---
 .../camel/tools/apt/helper/EndpointHelper.java      |  2 +-
 64 files changed, 111 insertions(+), 112 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java b/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java
index 00ee415..d8a787e 100644
--- a/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java
+++ b/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java
@@ -37,7 +37,7 @@ public interface EndpointConfiguration {
     /**
      * {@link org.apache.camel.spi.DataFormat} operations.
      */
-    public enum UriFormat {
+    enum UriFormat {
         Canonical, Provider, Consumer, Complete
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java b/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
index 71dd6b4..2290200 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
@@ -2033,8 +2033,8 @@ public final class ExpressionBuilder {
         private final String toStringValue;
         private final KeyedEntityRetrievalStrategy keyedEntityRetrievalStrategy;
 
-        public KeyedOgnlExpressionAdapter(String ognl, String toStringValue, 
-                                          KeyedEntityRetrievalStrategy keyedEntityRetrievalStrategy) {
+        KeyedOgnlExpressionAdapter(String ognl, String toStringValue, 
+                                   KeyedEntityRetrievalStrategy keyedEntityRetrievalStrategy) {
             this.ognl = ognl;
             this.toStringValue = toStringValue;
             this.keyedEntityRetrievalStrategy = keyedEntityRetrievalStrategy;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/component/properties/DefaultPropertiesParser.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/properties/DefaultPropertiesParser.java b/camel-core/src/main/java/org/apache/camel/component/properties/DefaultPropertiesParser.java
index c19f165..c7fb283 100644
--- a/camel-core/src/main/java/org/apache/camel/component/properties/DefaultPropertiesParser.java
+++ b/camel-core/src/main/java/org/apache/camel/component/properties/DefaultPropertiesParser.java
@@ -77,7 +77,7 @@ public class DefaultPropertiesParser implements AugmentedPropertyNameAwareProper
         private final String propertySuffix;
         private final boolean fallbackToUnaugmentedProperty;
 
-        public ParsingContext(Properties properties, String prefixToken, String suffixToken, String propertyPrefix, String propertySuffix,
+        ParsingContext(Properties properties, String prefixToken, String suffixToken, String propertyPrefix, String propertySuffix,
                               boolean fallbackToUnaugmentedProperty) {
             this.properties = properties;
             this.prefixToken = prefixToken;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java b/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
index 3993894..e9bd4b8 100644
--- a/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
+++ b/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
@@ -496,7 +496,7 @@ public final class IOConverter {
          * @param in file to read
          * @param charset character set to use
          */
-        public EncodingFileReader(FileInputStream in, String charset)
+        EncodingFileReader(FileInputStream in, String charset)
             throws FileNotFoundException, UnsupportedEncodingException {
             super(in, charset);
             this.in = in;
@@ -523,7 +523,7 @@ public final class IOConverter {
          * @param out file to write
          * @param charset character set to use
          */
-        public EncodingFileWriter(FileOutputStream out, String charset)
+        EncodingFileWriter(FileOutputStream out, String charset)
             throws FileNotFoundException, UnsupportedEncodingException {
             super(out, charset);
             this.out = out;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java b/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
index c3c2aae..cc6dbe6 100644
--- a/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
+++ b/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
@@ -1108,8 +1108,8 @@ public class XmlConverter {
             // Disable the external-general-entities by default
             factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
         } catch (ParserConfigurationException e) {
-            LOG.warn("DocumentBuilderFactory doesn't support the feature {} with value {}, due to {}."
-                     , new Object[]{"http://xml.org/sax/features/external-general-entities", false, e});
+            LOG.warn("DocumentBuilderFactory doesn't support the feature {} with value {}, due to {}.",
+                     new Object[]{"http://xml.org/sax/features/external-general-entities", false, e});
         }
         // setup the SecurityManager by default if it's apache xerces
         try {
@@ -1120,8 +1120,8 @@ public class XmlConverter {
                 factory.setAttribute("http://apache.org/xml/properties/security-manager", sm);
             }
         } catch (Exception e) {
-            LOG.warn("DocumentBuilderFactory doesn't support the attribute {}, due to {}."
-                     , new Object[]{"http://apache.org/xml/properties/security-manager", e});
+            LOG.warn("DocumentBuilderFactory doesn't support the attribute {}, due to {}.",
+                     new Object[]{"http://apache.org/xml/properties/security-manager", e});
         }
         // setup the feature from the system property
         setupFeatures(factory);
@@ -1215,8 +1215,8 @@ public class XmlConverter {
         try {
             sfactory.setFeature("http://xml.org/sax/features/external-general-entities", false);
         } catch (Exception e) {
-            LOG.warn("SAXParser doesn't support the feature {} with value {}, due to {}."
-                    , new Object[]{"http://xml.org/sax/features/external-general-entities", false, e});
+            LOG.warn("SAXParser doesn't support the feature {} with value {}, due to {}.",
+                     new Object[]{"http://xml.org/sax/features/external-general-entities", false, e});
         }
         sfactory.setNamespaceAware(true);
         return sfactory;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java
index de3c78d..cae7389 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java
@@ -392,27 +392,27 @@ public class DefaultExchangeHolder implements Serializable {
         if (key.startsWith("Camel")) {
             // log Camel at DEBUG level
             if (LOG.isDebugEnabled()) {
-                LOG.debug("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder."
-                        , new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
+                LOG.debug("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder.",
+                          new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
             }
         } else {
             // log regular at WARN level
-            LOG.warn("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder."
-                    , new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
+            LOG.warn("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder.",
+                     new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
         }
     }
 
     private static void logInvalidHeaderValue(String type, String key, Object value) {
         if (LOG.isDebugEnabled()) {
-            LOG.debug("Exchange {} containing key: {} with object: {} of type: {} is not valid header type, it will be excluded by the holder."
-                      , new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
+            LOG.debug("Exchange {} containing key: {} with object: {} of type: {} is not valid header type, it will be excluded by the holder.",
+                      new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
         }
     }
 
     private static void logInvalidExchangePropertyValue(String type, String key, Object value) {
         if (LOG.isDebugEnabled()) {
-            LOG.debug("Exchange {} containing key: {} with object: {} of type: {} is not valid exchange property type, it will be excluded by the holder."
-                      , new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
+            LOG.debug("Exchange {} containing key: {} with object: {} of type: {} is not valid exchange property type, it will be excluded by the holder.",
+                      new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
         }
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java
index 074837b..0a671d7 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java
@@ -507,7 +507,7 @@ public class DefaultShutdownStrategy extends ServiceSupport implements ShutdownS
         private final TimeUnit timeUnit;
         private final AtomicBoolean timeoutOccurred;
 
-        public ShutdownTask(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit,
+        ShutdownTask(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit,
                             boolean suspendOnly, boolean abortAfterTimeout, AtomicBoolean timeoutOccurred) {
             this.context = context;
             this.routes = routes;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java b/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
index a417554..bb9aeb8 100644
--- a/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
+++ b/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
@@ -228,7 +228,7 @@ public class BeanExpression implements Expression, Predicate {
         private final BeanHolder beanHolder;
         private Object result;
 
-        public OgnlInvokeProcessor(BeanHolder beanHolder, String ognl) {
+        OgnlInvokeProcessor(BeanHolder beanHolder, String ognl) {
             this.beanHolder = beanHolder;
             this.ognl = ognl;
             // we must start with having bean as the result

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEventNotifier.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEventNotifier.java b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEventNotifier.java
index 4aca8e4..c351cb8 100644
--- a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEventNotifier.java
+++ b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEventNotifier.java
@@ -135,12 +135,12 @@ public class ManagedEventNotifier extends NotificationBroadcasterSupport impleme
 
     public MBeanNotificationInfo[] getNotificationInfo() {
         // all the class names in the event package
-        String[] names = {"CamelContextStartedEvent", "CamelContextStartingEvent", "CamelContextStartupFailureEvent"
-                , "CamelContextStopFailureEvent", "CamelContextStoppedEvent", "CamelContextStoppingEvent"
-                , "CamelContextSuspendingEvent", "CamelContextSuspendedEvent", "CamelContextResumingEvent", "CamelContextResumedEvent"
-                , "CamelContextResumeFailureEvent", "ExchangeCompletedEvent", "ExchangeCreatedEvent", "ExchangeFailedEvent"
-                , "ExchangeFailureHandledEvent", "ExchangeRedeliveryEvents", "ExchangeSendingEvent", "ExchangeSentEvent", "RouteStartedEvent"
-                , "RouteStoppedEvent", "ServiceStartupFailureEvent", "ServiceStopFailureEvent"};
+        String[] names = {"CamelContextStartedEvent", "CamelContextStartingEvent", "CamelContextStartupFailureEvent",
+                          "CamelContextStopFailureEvent", "CamelContextStoppedEvent", "CamelContextStoppingEvent",
+                          "CamelContextSuspendingEvent", "CamelContextSuspendedEvent", "CamelContextResumingEvent", "CamelContextResumedEvent",
+                          "CamelContextResumeFailureEvent", "ExchangeCompletedEvent", "ExchangeCreatedEvent", "ExchangeFailedEvent",
+                          "ExchangeFailureHandledEvent", "ExchangeRedeliveryEvents", "ExchangeSendingEvent", "ExchangeSentEvent", "RouteStartedEvent",
+                          "RouteStoppedEvent", "ServiceStartupFailureEvent", "ServiceStopFailureEvent"};
 
         List<MBeanNotificationInfo> infos = new ArrayList<MBeanNotificationInfo>();
         for (String name : names) {

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseHeaderDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseHeaderDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseHeaderDefinition.java
index 9b8dc86..00b488d 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseHeaderDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseHeaderDefinition.java
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
index ee7a3c5..b7d0a57 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/BatchProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/BatchProcessor.java b/camel-core/src/main/java/org/apache/camel/processor/BatchProcessor.java
index 797c89f..f7056e0 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/BatchProcessor.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/BatchProcessor.java
@@ -339,7 +339,7 @@ public class BatchProcessor extends ServiceSupport implements AsyncProcessor, Na
         private final Queue<String> completionPredicateMatched = new ConcurrentLinkedQueue<String>();
         private Condition exchangeEnqueuedCondition = queueLock.newCondition();
 
-        public BatchSender() {
+        BatchSender() {
             super(camelContext.getExecutorServiceManager().resolveThreadName("Batch Sender"));
             this.queue = new LinkedList<Exchange>();
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/DelayProcessorSupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/DelayProcessorSupport.java b/camel-core/src/main/java/org/apache/camel/processor/DelayProcessorSupport.java
index 05ba626..80abba9 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/DelayProcessorSupport.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/DelayProcessorSupport.java
@@ -52,7 +52,7 @@ public abstract class DelayProcessorSupport extends DelegateAsyncProcessor {
         private final Exchange exchange;
         private final AsyncCallback callback;
 
-        public ProcessCall(Exchange exchange, AsyncCallback callback) {
+        ProcessCall(Exchange exchange, AsyncCallback callback) {
             this.exchange = exchange;
             this.callback = callback;
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/MulticastProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/MulticastProcessor.java b/camel-core/src/main/java/org/apache/camel/processor/MulticastProcessor.java
index 65a4d51..5f96ba2 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/MulticastProcessor.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/MulticastProcessor.java
@@ -137,7 +137,7 @@ public class MulticastProcessor extends ServiceSupport implements AsyncProcessor
      */
     static final class PreparedErrorHandler extends KeyValueHolder<RouteContext, Processor> {
 
-        public PreparedErrorHandler(RouteContext key, Processor value) {
+        PreparedErrorHandler(RouteContext key, Processor value) {
             super(key, value);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/RedeliveryErrorHandler.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/RedeliveryErrorHandler.java b/camel-core/src/main/java/org/apache/camel/processor/RedeliveryErrorHandler.java
index af3372b..632fb4b 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/RedeliveryErrorHandler.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/RedeliveryErrorHandler.java
@@ -129,7 +129,7 @@ public abstract class RedeliveryErrorHandler extends ErrorHandlerSupport impleme
         private final AsyncCallback callback;
         private final RedeliveryData data;
 
-        public AsyncRedeliveryTask(Exchange exchange, AsyncCallback callback, RedeliveryData data) {
+        AsyncRedeliveryTask(Exchange exchange, AsyncCallback callback, RedeliveryData data) {
             this.exchange = exchange;
             this.callback = callback;
             this.data = data;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/RoutingSlip.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/RoutingSlip.java b/camel-core/src/main/java/org/apache/camel/processor/RoutingSlip.java
index 87316a8..641834c 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/RoutingSlip.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/RoutingSlip.java
@@ -82,7 +82,7 @@ public class RoutingSlip extends ServiceSupport implements AsyncProcessor, Trace
      */
     static final class PreparedErrorHandler extends KeyValueHolder<RouteContext, Processor> {
 
-        public PreparedErrorHandler(RouteContext key, Processor value) {
+        PreparedErrorHandler(RouteContext key, Processor value) {
             super(key, value);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/StreamResequencer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/StreamResequencer.java b/camel-core/src/main/java/org/apache/camel/processor/StreamResequencer.java
index e24b056..c3d7e70 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/StreamResequencer.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/StreamResequencer.java
@@ -262,7 +262,7 @@ public class StreamResequencer extends ServiceSupport implements SequenceSender<
         private Lock deliveryRequestLock = new ReentrantLock();
         private Condition deliveryRequestCondition = deliveryRequestLock.newCondition();
         
-        public Delivery() {
+        Delivery() {
             super(camelContext.getExecutorServiceManager().resolveThreadName("Resequencer Delivery"));
         }
         

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/ThreadsProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/ThreadsProcessor.java b/camel-core/src/main/java/org/apache/camel/processor/ThreadsProcessor.java
index 93472b3..c71821f 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/ThreadsProcessor.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/ThreadsProcessor.java
@@ -71,7 +71,7 @@ public class ThreadsProcessor extends ServiceSupport implements AsyncProcessor,
         private final Exchange exchange;
         private final AsyncCallback callback;
 
-        public ProcessCall(Exchange exchange, AsyncCallback callback) {
+        ProcessCall(Exchange exchange, AsyncCallback callback) {
             this.exchange = exchange;
             this.callback = callback;
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/Throttler.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/Throttler.java b/camel-core/src/main/java/org/apache/camel/processor/Throttler.java
index 5fe3b46..543ec9a 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/Throttler.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/Throttler.java
@@ -301,7 +301,7 @@ public class Throttler extends DelegateAsyncProcessor implements Traceable, IdAw
     private class ThrottlePermit implements Delayed {
         private volatile long scheduledTime;
 
-        public ThrottlePermit(final long delayMs) {
+        ThrottlePermit(final long delayMs) {
             setDelayMs(delayMs);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/idempotent/IdempotentConsumer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/idempotent/IdempotentConsumer.java b/camel-core/src/main/java/org/apache/camel/processor/idempotent/IdempotentConsumer.java
index 643dd6d..b4fb4f4 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/idempotent/IdempotentConsumer.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/idempotent/IdempotentConsumer.java
@@ -276,7 +276,7 @@ public class IdempotentConsumer extends ServiceSupport implements CamelContextAw
         private final AsyncCallback callback;
         private final boolean completionEager;
 
-        public IdempotentConsumerCallback(Exchange exchange, Synchronization onCompletion, AsyncCallback callback, boolean completionEager) {
+        IdempotentConsumerCallback(Exchange exchange, Synchronization onCompletion, AsyncCallback callback, boolean completionEager) {
             this.exchange = exchange;
             this.onCompletion = onCompletion;
             this.callback = callback;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/resequencer/Element.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/resequencer/Element.java b/camel-core/src/main/java/org/apache/camel/processor/resequencer/Element.java
index 4b2027e..6fa2a4c 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/resequencer/Element.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/resequencer/Element.java
@@ -39,7 +39,7 @@ class Element<E> implements TimeoutHandler {
      * 
      * @param object contained object.
      */
-    public Element(E object) {
+    Element(E object) {
         this.object = object;
     }
     

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/processor/resequencer/ElementComparator.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/resequencer/ElementComparator.java b/camel-core/src/main/java/org/apache/camel/processor/resequencer/ElementComparator.java
index 037ffcf..3e145f7 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/resequencer/ElementComparator.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/resequencer/ElementComparator.java
@@ -35,7 +35,7 @@ class ElementComparator<E> implements SequenceElementComparator<Element<E>> {
      * 
      * @param comparator a sequence element comparator this comparator delegates to.
      */
-    public ElementComparator(SequenceElementComparator<E> comparator) {
+    ElementComparator(SequenceElementComparator<E> comparator) {
         this.comparator = comparator;
     }
     

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/spi/Container.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/spi/Container.java b/camel-core/src/main/java/org/apache/camel/spi/Container.java
index b259f31..8287c95 100644
--- a/camel-core/src/main/java/org/apache/camel/spi/Container.java
+++ b/camel-core/src/main/java/org/apache/camel/spi/Container.java
@@ -44,7 +44,7 @@ public interface Container {
     /**
      * The <code>Instance</code> class holds a <code>Container</code> singleton.
      */
-    public static final class Instance {
+    final class Instance {
 
         private static final Logger LOG = LoggerFactory.getLogger(Container.class);
         private static Container container;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java b/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java
index d06d3ff..918e5ec 100644
--- a/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java
+++ b/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java
@@ -28,7 +28,7 @@ public interface HeaderFilterStrategy {
     /**
      * The direction is either <tt>IN</tt> or <tt>OUT</tt>.
      */
-    public enum Direction {
+    enum Direction {
         IN, OUT
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/support/XMLTokenExpressionIterator.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/support/XMLTokenExpressionIterator.java b/camel-core/src/main/java/org/apache/camel/support/XMLTokenExpressionIterator.java
index fdb5088..725ee6b 100644
--- a/camel-core/src/main/java/org/apache/camel/support/XMLTokenExpressionIterator.java
+++ b/camel-core/src/main/java/org/apache/camel/support/XMLTokenExpressionIterator.java
@@ -172,25 +172,25 @@ public class XMLTokenExpressionIterator extends ExpressionAdapter implements Nam
 
         private Object nextToken;
         
-        public XMLTokenIterator(String path, Map<String, String> nsmap, char mode, InputStream in, String charset) 
+        XMLTokenIterator(String path, Map<String, String> nsmap, char mode, InputStream in, String charset) 
             throws XMLStreamException, UnsupportedEncodingException {
             // woodstox's getLocation().etCharOffset() does not return the offset correctly for InputStream, so use Reader instead.
             this(path, nsmap, mode, 1, new InputStreamReader(in, charset));
             this.originalInputStream = in;
         }
 
-        public XMLTokenIterator(String path, Map<String, String> nsmap, char mode, int group, InputStream in, String charset) 
+        XMLTokenIterator(String path, Map<String, String> nsmap, char mode, int group, InputStream in, String charset) 
             throws XMLStreamException, UnsupportedEncodingException {
             // woodstox's getLocation().etCharOffset() does not return the offset correctly for InputStream, so use Reader instead.
             this(path, nsmap, mode, group, new InputStreamReader(in, charset));
             this.originalInputStream = in;
         }
 
-        public XMLTokenIterator(String path, Map<String, String> nsmap, char mode, Reader in) throws XMLStreamException {
+        XMLTokenIterator(String path, Map<String, String> nsmap, char mode, Reader in) throws XMLStreamException {
             this(path, nsmap, mode, 1, in);
         }
 
-        public XMLTokenIterator(String path, Map<String, String> nsmap, char mode, int group, Reader in) throws XMLStreamException {
+        XMLTokenIterator(String path, Map<String, String> nsmap, char mode, int group, Reader in) throws XMLStreamException {
             final String[] sl = path.substring(1).split("/");
             this.splitpath = new AttributedQName[sl.length];
             for (int i = 0; i < sl.length; i++) {
@@ -611,17 +611,17 @@ public class XMLTokenExpressionIterator extends ExpressionAdapter implements Nam
         private Pattern lcpattern;
         private boolean nsany;
         
-        public AttributedQName(String localPart) {
+        AttributedQName(String localPart) {
             super(localPart);
             checkWildcard("", localPart);
         }
 
-        public AttributedQName(String namespaceURI, String localPart, String prefix) {
+        AttributedQName(String namespaceURI, String localPart, String prefix) {
             super(namespaceURI, localPart, prefix);
             checkWildcard(namespaceURI, localPart);
         }
 
-        public AttributedQName(String namespaceURI, String localPart) {
+        AttributedQName(String namespaceURI, String localPart) {
             super(namespaceURI, localPart);
             checkWildcard(namespaceURI, localPart);
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/util/CamelVersionHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/CamelVersionHelper.java b/camel-core/src/main/java/org/apache/camel/util/CamelVersionHelper.java
index 4fa7d40..c5da3be 100644
--- a/camel-core/src/main/java/org/apache/camel/util/CamelVersionHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/util/CamelVersionHelper.java
@@ -117,7 +117,7 @@ public final class CamelVersionHelper {
                 this.value = BIG_INTEGER_ZERO;
             }
 
-            public IntegerItem(String str) {
+            IntegerItem(String str) {
                 this.value = new BigInteger(str);
             }
 
@@ -180,7 +180,7 @@ public final class CamelVersionHelper {
 
             private String value;
 
-            public StringItem(String value, boolean followedByDigit) {
+            StringItem(String value, boolean followedByDigit) {
                 if (followedByDigit && value.length() == 1) {
                     // a1 = alpha-1, b1 = beta-1, m1 = milestone-1
                     switch (value.charAt(0)) {

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/util/GZIPHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/GZIPHelper.java b/camel-core/src/main/java/org/apache/camel/util/GZIPHelper.java
index c016d9a..3cdaaad 100644
--- a/camel-core/src/main/java/org/apache/camel/util/GZIPHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/util/GZIPHelper.java
@@ -96,7 +96,7 @@ public final class GZIPHelper {
         return isGzip(message.getHeader(Exchange.CONTENT_ENCODING, String.class), message.getExchange());
     }
     
-    public static boolean isGzip(String header , Exchange exchange) {
+    public static boolean isGzip(String header, Exchange exchange) {
         if (exchange == null || !exchange.getProperty(Exchange.SKIP_GZIP_ENCODING, Boolean.FALSE, Boolean.class)) {
             return isGzip(header);
         } else {

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java b/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java
index 783af6c..6ec9e63 100644
--- a/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java
+++ b/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java
@@ -124,7 +124,7 @@ public final class UnsafeUriCharactersEncoder {
     private static class Pair {
         int left;
         int right;
-        public Pair(int left, int right) {
+        Pair(int left, int right) {
             this.left = left;
             this.right = right;
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/util/component/ApiMethodHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/component/ApiMethodHelper.java b/camel-core/src/main/java/org/apache/camel/util/component/ApiMethodHelper.java
index 3b04db7..d938f30 100644
--- a/camel-core/src/main/java/org/apache/camel/util/component/ApiMethodHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/util/component/ApiMethodHelper.java
@@ -470,7 +470,7 @@ public final class ApiMethodHelper<T extends Enum<T> & ApiMethod> {
         }
     }
 
-    public static enum MatchType {
+    public enum MatchType {
         EXACT, SUBSET, SUPER_SET
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/util/concurrent/SubmitOrderedCompletionService.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/concurrent/SubmitOrderedCompletionService.java b/camel-core/src/main/java/org/apache/camel/util/concurrent/SubmitOrderedCompletionService.java
index df777c2..4af4553 100644
--- a/camel-core/src/main/java/org/apache/camel/util/concurrent/SubmitOrderedCompletionService.java
+++ b/camel-core/src/main/java/org/apache/camel/util/concurrent/SubmitOrderedCompletionService.java
@@ -51,12 +51,12 @@ public class SubmitOrderedCompletionService<V> implements CompletionService<V> {
         // the id this task was assigned
         private final long id;
 
-        public SubmitOrderFutureTask(long id, Callable<V> voidCallable) {
+        SubmitOrderFutureTask(long id, Callable<V> voidCallable) {
             super(voidCallable);
             this.id = id;
         }
 
-        public SubmitOrderFutureTask(long id, Runnable runnable, V result) {
+        SubmitOrderFutureTask(long id, Runnable runnable, V result) {
             super(runnable, result);
             this.id = id;
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/main/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategy.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategy.java b/camel-core/src/main/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategy.java
index 88a304c..a8c433a 100644
--- a/camel-core/src/main/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategy.java
+++ b/camel-core/src/main/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategy.java
@@ -304,7 +304,7 @@ public class FlexibleAggregationStrategy<E extends Object> implements Aggregatio
     private abstract class FlexibleAggregationStrategyInjector {
         protected Class<E> type;
         
-        public FlexibleAggregationStrategyInjector(Class<E> type) {
+        FlexibleAggregationStrategyInjector(Class<E> type) {
             this.type = type;
         }
         
@@ -322,7 +322,7 @@ public class FlexibleAggregationStrategy<E extends Object> implements Aggregatio
     private class PropertyInjector extends FlexibleAggregationStrategyInjector {
         private String propertyName;
         
-        public PropertyInjector(Class<E> type, String propertyName) {
+        PropertyInjector(Class<E> type, String propertyName) {
             super(type);
             this.propertyName = propertyName;
         }
@@ -357,7 +357,7 @@ public class FlexibleAggregationStrategy<E extends Object> implements Aggregatio
     private class HeaderInjector extends FlexibleAggregationStrategyInjector {
         private String headerName;
         
-        public HeaderInjector(Class<E> type, String headerName) {
+        HeaderInjector(Class<E> type, String headerName) {
             super(type);
             this.headerName = headerName;
         }
@@ -389,7 +389,7 @@ public class FlexibleAggregationStrategy<E extends Object> implements Aggregatio
     }
     
     private class BodyInjector extends FlexibleAggregationStrategyInjector {
-        public BodyInjector(Class<E> type) {
+        BodyInjector(Class<E> type) {
             super(type);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/builder/ErrorHandlerBuilderRefTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/builder/ErrorHandlerBuilderRefTest.java b/camel-core/src/test/java/org/apache/camel/builder/ErrorHandlerBuilderRefTest.java
index 047242c..7ab9d0d 100644
--- a/camel-core/src/test/java/org/apache/camel/builder/ErrorHandlerBuilderRefTest.java
+++ b/camel-core/src/test/java/org/apache/camel/builder/ErrorHandlerBuilderRefTest.java
@@ -66,7 +66,7 @@ public class ErrorHandlerBuilderRefTest extends ContextTestSupport {
 
         final String routeId;
 
-        public TempRouteBuilder(String routeId) {
+        TempRouteBuilder(String routeId) {
             this.routeId = routeId;
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java
index f30ba95..37da22d 100644
--- a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java
@@ -95,7 +95,7 @@ public class FileProducerChmodOptionTest extends ContextTestSupport {
             });
             fail("Expected FailedToCreateRouteException");
         } catch (Exception e) {
-            assertTrue("Expected FailedToCreateRouteException, was " + e.getClass().getCanonicalName() , e instanceof FailedToCreateRouteException);
+            assertTrue("Expected FailedToCreateRouteException, was " + e.getClass().getCanonicalName(), e instanceof FailedToCreateRouteException);
             assertTrue("Message was [" + e.getMessage() + "]", e.getMessage().endsWith("conversion possible: chmod option [abc] is not valid"));
         }
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/component/log/DefaultExchangeFormatterTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/log/DefaultExchangeFormatterTest.java b/camel-core/src/test/java/org/apache/camel/component/log/DefaultExchangeFormatterTest.java
index e906623..4aff55d 100644
--- a/camel-core/src/test/java/org/apache/camel/component/log/DefaultExchangeFormatterTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/log/DefaultExchangeFormatterTest.java
@@ -184,11 +184,11 @@ public class DefaultExchangeFormatterTest extends ContextTestSupport {
 
     private static class MyFuture extends FutureTask<String> {
 
-        public MyFuture(Callable<String> callable) {
+        MyFuture(Callable<String> callable) {
             super(callable);
         }
 
-        public MyFuture(Runnable runnable, String o) {
+        MyFuture(Runnable runnable, String o) {
             super(runnable, o);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/component/seda/CollectionProducerTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/seda/CollectionProducerTest.java b/camel-core/src/test/java/org/apache/camel/component/seda/CollectionProducerTest.java
index 7acbadd..f8b1a0e 100644
--- a/camel-core/src/test/java/org/apache/camel/component/seda/CollectionProducerTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/seda/CollectionProducerTest.java
@@ -33,7 +33,7 @@ public class CollectionProducerTest extends ContextTestSupport {
 
     private static class MyProducer extends CollectionProducer {
 
-        public MyProducer(Endpoint endpoint, Collection<Exchange> queue) {
+        MyProducer(Endpoint endpoint, Collection<Exchange> queue) {
             super(endpoint, queue);
         }
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/component/xslt/XsltUriResolverFactoryTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/xslt/XsltUriResolverFactoryTest.java b/camel-core/src/test/java/org/apache/camel/component/xslt/XsltUriResolverFactoryTest.java
index e16fb4a..07ec801 100644
--- a/camel-core/src/test/java/org/apache/camel/component/xslt/XsltUriResolverFactoryTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/xslt/XsltUriResolverFactoryTest.java
@@ -132,7 +132,7 @@ public class XsltUriResolverFactoryTest extends ContextTestSupport {
 
         private final Set<String> resolvedRsourceUris = new HashSet<>();
 
-        public CustomXsltUriResolver(ClassResolver resolver, String location) {
+        CustomXsltUriResolver(ClassResolver resolver, String location) {
             super(resolver, location);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/converter/stream/CachedOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/converter/stream/CachedOutputStreamTest.java b/camel-core/src/test/java/org/apache/camel/converter/stream/CachedOutputStreamTest.java
index 77f9dc9..f7a5d5e 100644
--- a/camel-core/src/test/java/org/apache/camel/converter/stream/CachedOutputStreamTest.java
+++ b/camel-core/src/test/java/org/apache/camel/converter/stream/CachedOutputStreamTest.java
@@ -84,7 +84,7 @@ public class CachedOutputStreamTest extends ContextTestSupport {
         File file = new File("target/cachedir");
         String[] files = file.list();
         assertEquals("we should have a temp file", 1, files.length);
-        assertTrue("The file name should start with cos" , files[0].startsWith("cos"));
+        assertTrue("The file name should start with cos", files[0].startsWith("cos"));
         
         InputStream is = cos.getWrappedInputStream();
         exchange.getUnitOfWork().done(exchange);
@@ -106,7 +106,7 @@ public class CachedOutputStreamTest extends ContextTestSupport {
         File file = new File("target/cachedir");
         String[] files = file.list();
         assertEquals("we should have a temp file", 1, files.length);
-        assertTrue("The file name should start with cos" , files[0].startsWith("cos"));
+        assertTrue("The file name should start with cos", files[0].startsWith("cos"));
 
         StreamCache cache = cos.newStreamCache();
         assertTrue("Should get the FileInputStreamCache", cache instanceof FileInputStreamCache);
@@ -146,7 +146,7 @@ public class CachedOutputStreamTest extends ContextTestSupport {
         File file = new File("target/cachedir");
         String[] files = file.list();
         assertEquals("we should have a temp file", 1, files.length);
-        assertTrue("The content is written" , new File(file, files[0]).length() > 10);
+        assertTrue("The content is written", new File(file, files[0]).length() > 10);
         
         java.io.FileInputStream tmpin = new java.io.FileInputStream(new File(file, files[0]));
         String temp = toString(tmpin);
@@ -186,7 +186,7 @@ public class CachedOutputStreamTest extends ContextTestSupport {
         File file = new File("target/cachedir");
         String[] files = file.list();
         assertEquals("we should have a temp file", 1, files.length);
-        assertTrue("The file name should start with cos" , files[0].startsWith("cos"));
+        assertTrue("The file name should start with cos", files[0].startsWith("cos"));
         
         StreamCache cache = cos.newStreamCache();
         assertTrue("Should get the FileInputStreamCache", cache instanceof FileInputStreamCache);
@@ -264,7 +264,7 @@ public class CachedOutputStreamTest extends ContextTestSupport {
         File file = new File("target/cachedir");
         String[] files = file.list();
         assertEquals("we should have a temp file", 1, files.length);
-        assertTrue("The file name should start with cos" , files[0].startsWith("cos"));              
+        assertTrue("The file name should start with cos", files[0].startsWith("cos"));              
         
         StreamCache cache = cos.newStreamCache();
         assertTrue("Should get the FileInputStreamCache", cache instanceof FileInputStreamCache);

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/impl/CamelContextSharedProducerServicePoolTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/CamelContextSharedProducerServicePoolTest.java b/camel-core/src/test/java/org/apache/camel/impl/CamelContextSharedProducerServicePoolTest.java
index f001553..a16eff7 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/CamelContextSharedProducerServicePoolTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/CamelContextSharedProducerServicePoolTest.java
@@ -33,7 +33,7 @@ public class CamelContextSharedProducerServicePoolTest extends ContextTestSuppor
         private boolean start;
         private boolean stop;
 
-        public MyProducer(Endpoint endpoint) throws Exception {
+        MyProducer(Endpoint endpoint) throws Exception {
             super(endpoint);
             start();
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/impl/CustomProducerServicePoolTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/CustomProducerServicePoolTest.java b/camel-core/src/test/java/org/apache/camel/impl/CustomProducerServicePoolTest.java
index 21c8b49..407a5c2 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/CustomProducerServicePoolTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/CustomProducerServicePoolTest.java
@@ -64,7 +64,7 @@ public class CustomProducerServicePoolTest extends ContextTestSupport {
 
     private static final class MyProducer extends DefaultProducer implements ServicePoolAware {
 
-        public MyProducer(Endpoint endpoint) {
+        MyProducer(Endpoint endpoint) {
             super(endpoint);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/impl/CustomUnitOfWorkFactoryTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/CustomUnitOfWorkFactoryTest.java b/camel-core/src/test/java/org/apache/camel/impl/CustomUnitOfWorkFactoryTest.java
index 2457b92..1430a50 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/CustomUnitOfWorkFactoryTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/CustomUnitOfWorkFactoryTest.java
@@ -65,7 +65,7 @@ public class CustomUnitOfWorkFactoryTest extends ContextTestSupport {
 
     private class MyUnitOfWork extends DefaultUnitOfWork {
 
-        public MyUnitOfWork(Exchange exchange) {
+        MyUnitOfWork(Exchange exchange) {
             super(exchange);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java b/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
index 31269fb..3ef4523 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
@@ -185,7 +185,7 @@ public class DefaultProducerCacheTest extends ContextTestSupport {
 
     private final class MyProducer extends DefaultProducer {
 
-        public MyProducer(Endpoint endpoint) {
+        MyProducer(Endpoint endpoint) {
             super(endpoint);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/impl/HeaderFilterStrategyComponentTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/HeaderFilterStrategyComponentTest.java b/camel-core/src/test/java/org/apache/camel/impl/HeaderFilterStrategyComponentTest.java
index 2dc8f39..0c7875c 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/HeaderFilterStrategyComponentTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/HeaderFilterStrategyComponentTest.java
@@ -33,7 +33,7 @@ public class HeaderFilterStrategyComponentTest extends TestCase {
 
     private static class MyComponent extends HeaderFilterStrategyComponent {
 
-        public MyComponent(Class<? extends Endpoint> endpointClass) {
+        MyComponent(Class<? extends Endpoint> endpointClass) {
             super(endpointClass);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/impl/ServicePoolTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/ServicePoolTest.java b/camel-core/src/test/java/org/apache/camel/impl/ServicePoolTest.java
index 90b3b84..2fc60c9 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/ServicePoolTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/ServicePoolTest.java
@@ -42,7 +42,7 @@ public class ServicePoolTest extends ContextTestSupport {
         private boolean start;
         private boolean stop;
 
-        public MyProducer(Endpoint endpoint) throws Exception {
+        MyProducer(Endpoint endpoint) throws Exception {
             super(endpoint);
             start();
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java b/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java
index 5631b5f..af8aa90 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java
@@ -137,7 +137,7 @@ public class StringDataFormatTest extends TestSupport {
         private String encoding;
         private String title;
 
-        public MyBookProcessor(String encoding, String title) {
+        MyBookProcessor(String encoding, String title) {
             this.encoding = encoding;
             this.title = title;
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/issues/Camel4857UriIssueTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/issues/Camel4857UriIssueTest.java b/camel-core/src/test/java/org/apache/camel/issues/Camel4857UriIssueTest.java
index feb853a..dc61080 100644
--- a/camel-core/src/test/java/org/apache/camel/issues/Camel4857UriIssueTest.java
+++ b/camel-core/src/test/java/org/apache/camel/issues/Camel4857UriIssueTest.java
@@ -41,7 +41,7 @@ public class Camel4857UriIssueTest extends ContextTestSupport {
         String uri;
         String remaining;
 
-        public MyEndpoint(final String uri, final String remaining) {
+        MyEndpoint(final String uri, final String remaining) {
             this.uri = uri;
             this.remaining = remaining;
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/issues/CustomFailveOverProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/issues/CustomFailveOverProcessor.java b/camel-core/src/test/java/org/apache/camel/issues/CustomFailveOverProcessor.java
index 7c6650d..79e9d6c 100644
--- a/camel-core/src/test/java/org/apache/camel/issues/CustomFailveOverProcessor.java
+++ b/camel-core/src/test/java/org/apache/camel/issues/CustomFailveOverProcessor.java
@@ -70,7 +70,7 @@ public class CustomFailveOverProcessor extends ContextTestSupport {
         private List<String> uris;
         private ProducerTemplate template;
 
-        public MyFailOverProcessor(ProducerTemplate template, String... uris) {
+        MyFailOverProcessor(ProducerTemplate template, String... uris) {
             this.template = template;
             this.uris = Arrays.asList(uris);
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java b/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java
index 96afc2d..bc77881 100644
--- a/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java
+++ b/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java
@@ -60,7 +60,7 @@ public class ServicePoolAwareLeakyTest extends ContextTestSupport {
 
         private final String uri;
 
-        public LeakySieveEndpoint(String uri) {
+        LeakySieveEndpoint(String uri) {
             this.uri = uri;
         }
 
@@ -90,7 +90,7 @@ public class ServicePoolAwareLeakyTest extends ContextTestSupport {
      */
     private static class LeakySieveProducer extends DefaultProducer implements ServicePoolAware {
 
-        public LeakySieveProducer(Endpoint endpoint) {
+        LeakySieveProducer(Endpoint endpoint) {
             super(endpoint);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/language/simple/SimpleOperatorTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/language/simple/SimpleOperatorTest.java b/camel-core/src/test/java/org/apache/camel/language/simple/SimpleOperatorTest.java
index e9e4d6f..d464ef9 100644
--- a/camel-core/src/test/java/org/apache/camel/language/simple/SimpleOperatorTest.java
+++ b/camel-core/src/test/java/org/apache/camel/language/simple/SimpleOperatorTest.java
@@ -436,10 +436,10 @@ public class SimpleOperatorTest extends LanguageTestSupport {
             assertEquals(30, e.getIndex());
         }
 
-        assertPredicate("${in.header.bar} range '100..200' && ${in.header.foo} == 'abc'" , true);
-        assertPredicate("${in.header.bar} range '200..300' && ${in.header.foo} == 'abc'" , false);
-        assertPredicate("${in.header.bar} range '200..300' || ${in.header.foo} == 'abc'" , true);
-        assertPredicate("${in.header.bar} range '200..300' || ${in.header.foo} == 'def'" , false);
+        assertPredicate("${in.header.bar} range '100..200' && ${in.header.foo} == 'abc'", true);
+        assertPredicate("${in.header.bar} range '200..300' && ${in.header.foo} == 'abc'", false);
+        assertPredicate("${in.header.bar} range '200..300' || ${in.header.foo} == 'abc'", true);
+        assertPredicate("${in.header.bar} range '200..300' || ${in.header.foo} == 'def'", false);
     }
 
     public void testNotRange() throws Exception {

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionTest.java b/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionTest.java
index a93c87c..d8fd81c 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionTest.java
@@ -89,7 +89,7 @@ public class ChoiceWhenBeanExpressionTest extends ContextTestSupport {
     class Student {
         private int grade;
         
-        public Student(int grade) {
+        Student(int grade) {
             this.grade = grade;
         }
         

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionWithExceptionTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionWithExceptionTest.java b/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionWithExceptionTest.java
index e256820..089e3ab 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionWithExceptionTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/ChoiceWhenBeanExpressionWithExceptionTest.java
@@ -103,7 +103,7 @@ public class ChoiceWhenBeanExpressionWithExceptionTest extends ContextTestSuppor
     class Student {
         private int grade;
         
-        public Student(int grade) {
+        Student(int grade) {
             this.grade = grade;
         }
         

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/Endpoint2MustBeStartedBeforeSendProcessorTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/Endpoint2MustBeStartedBeforeSendProcessorTest.java b/camel-core/src/test/java/org/apache/camel/processor/Endpoint2MustBeStartedBeforeSendProcessorTest.java
index 29cfb68..b5da19f 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/Endpoint2MustBeStartedBeforeSendProcessorTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/Endpoint2MustBeStartedBeforeSendProcessorTest.java
@@ -150,7 +150,7 @@ public class Endpoint2MustBeStartedBeforeSendProcessorTest extends ContextTestSu
 
     private class MyProducer extends DefaultProducer {
 
-        public MyProducer(Endpoint endpoint) {
+        MyProducer(Endpoint endpoint) {
             super(endpoint);
         }
 
@@ -171,7 +171,7 @@ public class Endpoint2MustBeStartedBeforeSendProcessorTest extends ContextTestSu
 
     private class MyConsumer extends DefaultConsumer {
 
-        public MyConsumer(Endpoint endpoint, Processor processor) {
+        MyConsumer(Endpoint endpoint, Processor processor) {
             super(endpoint, processor);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/EndpointMustBeStartedBeforeSendProcessorTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/EndpointMustBeStartedBeforeSendProcessorTest.java b/camel-core/src/test/java/org/apache/camel/processor/EndpointMustBeStartedBeforeSendProcessorTest.java
index 19cd537..b7ccaa5 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/EndpointMustBeStartedBeforeSendProcessorTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/EndpointMustBeStartedBeforeSendProcessorTest.java
@@ -147,7 +147,7 @@ public class EndpointMustBeStartedBeforeSendProcessorTest extends ContextTestSup
 
     private class MyProducer extends DefaultProducer {
 
-        public MyProducer(Endpoint endpoint) {
+        MyProducer(Endpoint endpoint) {
             super(endpoint);
         }
 
@@ -168,7 +168,7 @@ public class EndpointMustBeStartedBeforeSendProcessorTest extends ContextTestSup
 
     private class MyConsumer extends DefaultConsumer {
 
-        public MyConsumer(Endpoint endpoint, Processor processor) {
+        MyConsumer(Endpoint endpoint, Processor processor) {
             super(endpoint, processor);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/MDCAsyncTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/MDCAsyncTest.java b/camel-core/src/test/java/org/apache/camel/processor/MDCAsyncTest.java
index ee9f9cb..b3e4da3 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/MDCAsyncTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/MDCAsyncTest.java
@@ -71,7 +71,7 @@ public class MDCAsyncTest extends ContextTestSupport {
         
         private static final ExecutorService EXECUTOR = Executors.newFixedThreadPool(1);
 
-        public MyAsyncProcessor() {
+        MyAsyncProcessor() {
             // submit a Runnable that does nothing just to initialise the threads
             EXECUTOR.submit(new Runnable() {
                 @Override

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java b/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java
index 7e7f73f..fa232c4 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/StreamResequencerTest.java
@@ -126,7 +126,7 @@ public class StreamResequencerTest extends ContextTestSupport {
         private final int increment;
         private final Random random;
 
-        public Sender(ProducerTemplate template, int start, int end, int increment) {
+        Sender(ProducerTemplate template, int start, int end, int increment) {
             this.template = template;
             this.start = start;
             this.end = end;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/interceptor/TraceInterceptorSubclassFactory.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/interceptor/TraceInterceptorSubclassFactory.java b/camel-core/src/test/java/org/apache/camel/processor/interceptor/TraceInterceptorSubclassFactory.java
index c490940..2cdfec0 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/interceptor/TraceInterceptorSubclassFactory.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/interceptor/TraceInterceptorSubclassFactory.java
@@ -48,7 +48,7 @@ public class TraceInterceptorSubclassFactory implements TraceInterceptorFactory
         private boolean traceThisNode = true;
         private TraceInterceptorSubclassFactory factory;
 
-        public TracerInterceptorSubclass(ProcessorDefinition<?> node, Processor target, TraceFormatter formatter,
+        TracerInterceptorSubclass(ProcessorDefinition<?> node, Processor target, TraceFormatter formatter,
                                          Tracer tracer, List<StringBuilder> eventMessages, TraceInterceptorSubclassFactory factory) {
             super(node, target, formatter, tracer);
             this.eventMessages = eventMessages;

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/processor/validation/CatalogLSResourceResolver.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/validation/CatalogLSResourceResolver.java b/camel-core/src/test/java/org/apache/camel/processor/validation/CatalogLSResourceResolver.java
index 901c7ce..b4cb2ce 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/validation/CatalogLSResourceResolver.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/validation/CatalogLSResourceResolver.java
@@ -55,7 +55,7 @@ public class CatalogLSResourceResolver implements LSResourceResolver {
         private String systemId;
         private String baseURI;
 
-        public LSInputSource(String namespaceURI, String publicId, String systemId, String baseURI) {
+        LSInputSource(String namespaceURI, String publicId, String systemId, String baseURI) {
             if (publicId == null) {
                 publicId = namespaceURI;
             }

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/camel-core/src/test/java/org/apache/camel/util/component/ApiMethodHelperTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/util/component/ApiMethodHelperTest.java b/camel-core/src/test/java/org/apache/camel/util/component/ApiMethodHelperTest.java
index 219b6c2..2287993 100644
--- a/camel-core/src/test/java/org/apache/camel/util/component/ApiMethodHelperTest.java
+++ b/camel-core/src/test/java/org/apache/camel/util/component/ApiMethodHelperTest.java
@@ -175,7 +175,7 @@ public class ApiMethodHelperTest {
         assertEquals("Derived sayHi(name)", "Howdy Dave", ApiMethodHelper.invokeMethod(proxy, TestMethod.SAYHI_1, properties));
     }
 
-    static enum TestMethod implements ApiMethod {
+    enum TestMethod implements ApiMethod {
 
         SAYHI(String.class, "sayHi"),
         SAYHI_1(String.class, "sayHi", String.class, "name"),
@@ -188,7 +188,7 @@ public class ApiMethodHelperTest {
 
         private final ApiMethod apiMethod;
 
-        private TestMethod(Class<?> resultType, String name, Object... args) {
+        TestMethod(Class<?> resultType, String name, Object... args) {
             this.apiMethod = new ApiMethodImpl(TestProxy.class, resultType, name, args);
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiServiceRegistry.java
----------------------------------------------------------------------
diff --git a/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiServiceRegistry.java b/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiServiceRegistry.java
index e1174d4..7813b36 100644
--- a/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiServiceRegistry.java
+++ b/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiServiceRegistry.java
@@ -101,7 +101,7 @@ public class OsgiServiceRegistry extends LifecycleStrategySupport implements Reg
                         if (service != null) {
                             String name = (String)sr.getProperty("name");
                             if (name != null) {
-                                result.put(name , type.cast(service));
+                                result.put(name, type.cast(service));
                             } else {
                                 // generate a unique name for it
                                 result.put(type.getSimpleName() + count, type.cast(service));

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/components/camel-core-osgi/src/test/java/org/apache/camel/core/osgi/CamelMockBundle.java
----------------------------------------------------------------------
diff --git a/components/camel-core-osgi/src/test/java/org/apache/camel/core/osgi/CamelMockBundle.java b/components/camel-core-osgi/src/test/java/org/apache/camel/core/osgi/CamelMockBundle.java
index d654629..212b932 100644
--- a/components/camel-core-osgi/src/test/java/org/apache/camel/core/osgi/CamelMockBundle.java
+++ b/components/camel-core-osgi/src/test/java/org/apache/camel/core/osgi/CamelMockBundle.java
@@ -41,7 +41,7 @@ public class CamelMockBundle extends MockBundle {
         private final List<E> list;                    
         private int index;
         
-        public ListEnumeration(List<E> list) {
+        ListEnumeration(List<E> list) {
             this.list = list;
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/converter/JacksonConversionsPojoTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/converter/JacksonConversionsPojoTest.java b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/converter/JacksonConversionsPojoTest.java
index 4df73e6..d4c83f1 100644
--- a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/converter/JacksonConversionsPojoTest.java
+++ b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/converter/JacksonConversionsPojoTest.java
@@ -19,7 +19,6 @@ package org.apache.camel.component.jackson.converter;
 import org.apache.camel.CamelContext;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.jackson.JacksonConstants;
-import org.apache.camel.component.jackson.converter.Order;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/components/camel-spring/src/main/java/org/apache/camel/spring/spi/BridgePropertyPlaceholderConfigurer.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/java/org/apache/camel/spring/spi/BridgePropertyPlaceholderConfigurer.java b/components/camel-spring/src/main/java/org/apache/camel/spring/spi/BridgePropertyPlaceholderConfigurer.java
index 260cbb2..092b06c 100644
--- a/components/camel-spring/src/main/java/org/apache/camel/spring/spi/BridgePropertyPlaceholderConfigurer.java
+++ b/components/camel-spring/src/main/java/org/apache/camel/spring/spi/BridgePropertyPlaceholderConfigurer.java
@@ -224,7 +224,7 @@ public class BridgePropertyPlaceholderConfigurer extends PropertyPlaceholderConf
 
         private final Properties properties;
 
-        public BridgePropertyPlaceholderResolver(Properties properties) {
+        BridgePropertyPlaceholderResolver(Properties properties) {
             this.properties = properties;
         }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/components/camel-spring/src/test/java/org/apache/camel/spring/remoting/SpringRemotingBeanConverterTest.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/test/java/org/apache/camel/spring/remoting/SpringRemotingBeanConverterTest.java b/components/camel-spring/src/test/java/org/apache/camel/spring/remoting/SpringRemotingBeanConverterTest.java
index 90fe72e..6fe8965 100644
--- a/components/camel-spring/src/test/java/org/apache/camel/spring/remoting/SpringRemotingBeanConverterTest.java
+++ b/components/camel-spring/src/test/java/org/apache/camel/spring/remoting/SpringRemotingBeanConverterTest.java
@@ -35,7 +35,7 @@ public class SpringRemotingBeanConverterTest extends TestCase {
         
         Invoker invoker = applicationContext.getBean("invokerProxy", Invoker.class);
         String response = invoker.invoke(new Bean.SubClass());
-        assertEquals("Hello from Sub" , response);
+        assertEquals("Hello from Sub", response);
 
         camelContext.stop();
         IOHelper.close(applicationContext);

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/components/camel-test-spring/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java
----------------------------------------------------------------------
diff --git a/components/camel-test-spring/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java b/components/camel-test-spring/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java
index c1d82cf..1d97437 100644
--- a/components/camel-test-spring/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java
+++ b/components/camel-test-spring/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

http://git-wip-us.apache.org/repos/asf/camel/blob/0844722e/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
----------------------------------------------------------------------
diff --git a/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java b/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
index bb5d8b3..f0ede92 100644
--- a/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
+++ b/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
@@ -151,7 +151,7 @@ public final class EndpointHelper {
 
         private final String syntax;
 
-        public EndpointPathComparator(String syntax) {
+        EndpointPathComparator(String syntax) {
             this.syntax = syntax;
         }
 


Mime
View raw message