You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/03/04 14:32:33 UTC
[camel] branch master updated: Fixed CS in Camel-Core
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new ba7b882 Fixed CS in Camel-Core
ba7b882 is described below
commit ba7b8821674ade648af82d9f8990c8251139d6ae
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 4 15:32:15 2019 +0100
Fixed CS in Camel-Core
---
core/camel-core/src/main/java/org/apache/camel/main/MainSupport.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/core/camel-core/src/main/java/org/apache/camel/main/MainSupport.java b/core/camel-core/src/main/java/org/apache/camel/main/MainSupport.java
index 5b72a71..832e610 100644
--- a/core/camel-core/src/main/java/org/apache/camel/main/MainSupport.java
+++ b/core/camel-core/src/main/java/org/apache/camel/main/MainSupport.java
@@ -762,7 +762,7 @@ public abstract class MainSupport extends ServiceSupport {
boolean rc = false;
Iterator it = properties.entrySet().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Map.Entry<String, Object> entry = (Map.Entry)it.next();
String name = entry.getKey();
Object value = entry.getValue();
@@ -782,7 +782,8 @@ public abstract class MainSupport extends ServiceSupport {
it.remove();
rc = true;
} else if (failIfNotSet) {
- throw new IllegalArgumentException("Cannot configure option [" + name + "] with value [" + stringValue + "] as the bean class [" + ObjectHelper.classCanonicalName(target) + "] has no suitable setter method, or not possible to lookup a bean with the id [" + stringValue + "] in Camel registry");
+ throw new IllegalArgumentException("Cannot configure option [" + name + "] with value [" + stringValue + "] as the bean class ["
+ + ObjectHelper.classCanonicalName(target) + "] has no suitable setter method, or not possible to lookup a bean with the id [" + stringValue + "] in Camel registry");
}
}