camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzurow...@apache.org
Subject camel git commit: Fix Checkstyle issues
Date Sat, 22 Apr 2017 12:28:23 GMT
Repository: camel
Updated Branches:
  refs/heads/master 38094761d -> 4db80439e


Fix Checkstyle issues

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>


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

Branch: refs/heads/master
Commit: 4db80439eafb8cea9cdd56a828a299c81728abdc
Parents: 3809476
Author: Gregor Zurowski <gregor@zurowski.org>
Authored: Sat Apr 22 13:28:10 2017 +0100
Committer: Gregor Zurowski <gregor@zurowski.org>
Committed: Sat Apr 22 13:28:10 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/model/AggregateDefinition.java | 3 ++-
 .../java/org/apache/camel/model/ProcessorDefinitionHelper.java    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4db80439/camel-core/src/main/java/org/apache/camel/model/AggregateDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/AggregateDefinition.java b/camel-core/src/main/java/org/apache/camel/model/AggregateDefinition.java
index 79b20d0..d5044a0 100644
--- a/camel-core/src/main/java/org/apache/camel/model/AggregateDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/AggregateDefinition.java
@@ -213,7 +213,8 @@ public class AggregateDefinition extends ProcessorDefinition<AggregateDefinition
                 timeoutThreadPool = routeContext.getCamelContext().getExecutorServiceManager().newScheduledThreadPool(this,
                         AggregateProcessor.AGGREGATE_TIMEOUT_CHECKER, timeoutCheckerExecutorServiceRef);
                 if (timeoutThreadPool == null) {
-                    throw new IllegalArgumentException("ExecutorServiceRef " + timeoutCheckerExecutorServiceRef
+ " not found in registry (as an ScheduledExecutorService instance) or as a thread pool profile.");
+                    throw new IllegalArgumentException("ExecutorServiceRef " + timeoutCheckerExecutorServiceRef

+                            + " not found in registry (as an ScheduledExecutorService instance)
or as a thread pool profile.");
                 }
                 shutdownTimeoutThreadPool = true;
             }

http://git-wip-us.apache.org/repos/asf/camel/blob/4db80439/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinitionHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinitionHelper.java
b/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinitionHelper.java
index 62a0a82..d4a30db 100644
--- a/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinitionHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinitionHelper.java
@@ -546,7 +546,8 @@ public final class ProcessorDefinitionHelper {
         } else if (definition.getExecutorServiceRef() != null) {
             ScheduledExecutorService answer = lookupScheduledExecutorServiceRef(routeContext,
name, definition, definition.getExecutorServiceRef());
             if (answer == null) {
-                throw new IllegalArgumentException("ExecutorServiceRef " + definition.getExecutorServiceRef()
+ " not found in registry (as an ScheduledExecutorService instance) or as a thread pool profile.");
+                throw new IllegalArgumentException("ExecutorServiceRef " + definition.getExecutorServiceRef()

+                        + " not found in registry (as an ScheduledExecutorService instance)
or as a thread pool profile.");
             }
             return answer;
         } else if (useDefault) {


Mime
View raw message