camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [10/11] camel git commit: Fixed CS
Date Fri, 04 Mar 2016 14:00:43 GMT
Fixed CS


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

Branch: refs/heads/master
Commit: 93483a71f66b34cfacb41c9faefd31a39b35b8bd
Parents: 69c0182
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Mar 4 14:46:14 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Mar 4 14:46:14 2016 +0100

----------------------------------------------------------------------
 .../camel/component/spring/ws/SpringWebserviceEndpoint.java   | 6 +++---
 .../camel/springboot/commands/crsh/CamelCommandsFacade.java   | 7 +++----
 2 files changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/93483a71/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceEndpoint.java
b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceEndpoint.java
index 10c2262..6dc51aa 100644
--- a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceEndpoint.java
+++ b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceEndpoint.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/93483a71/platforms/commands/commands-spring-boot/src/main/java/org/apache/camel/springboot/commands/crsh/CamelCommandsFacade.java
----------------------------------------------------------------------
diff --git a/platforms/commands/commands-spring-boot/src/main/java/org/apache/camel/springboot/commands/crsh/CamelCommandsFacade.java
b/platforms/commands/commands-spring-boot/src/main/java/org/apache/camel/springboot/commands/crsh/CamelCommandsFacade.java
index 8bd71b6..68fcd6f 100644
--- a/platforms/commands/commands-spring-boot/src/main/java/org/apache/camel/springboot/commands/crsh/CamelCommandsFacade.java
+++ b/platforms/commands/commands-spring-boot/src/main/java/org/apache/camel/springboot/commands/crsh/CamelCommandsFacade.java
@@ -110,7 +110,7 @@ public class CamelCommandsFacade {
 
         if (contextNames.size() != 1) {
             StringBuffer error = new StringBuffer();
-            error.append("Cannot infer Camel Context. Please provide manually.");
+            error.append("Cannot infer CamelContext. Please provide manually.");
 
             if (contextNames.size() > 1) {
                 error.append(" Contexts : " + contextNames.toString());
@@ -123,9 +123,8 @@ public class CamelCommandsFacade {
     }
 
     private String getFirstCamelContextName() throws Exception {
-        if (null == camelController.getLocalCamelContexts() ||
-                camelController.getLocalCamelContexts().size() == 0) {
-            throw new org.crsh.cli.impl.SyntaxException("No camel contexts available");
+        if (camelController.getLocalCamelContexts() == null || camelController.getLocalCamelContexts().size()
== 0) {
+            throw new org.crsh.cli.impl.SyntaxException("No CamelContexts available");
         }
 
         return camelController.getLocalCamelContexts().get(0).getName();


Mime
View raw message