camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/5] git commit: Fixed CS
Date Mon, 20 May 2013 10:19:36 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/7593694b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7593694b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7593694b

Branch: refs/heads/master
Commit: 7593694b98769689850b6fb8e855dcf6db8304c8
Parents: fb15fde
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat May 18 16:50:05 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat May 18 16:50:05 2013 +0200

----------------------------------------------------------------------
 .../org/apache/camel/processor/TryProcessor.java   |    2 +-
 .../main/java/org/apache/camel/spi/Container.java  |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7593694b/camel-core/src/main/java/org/apache/camel/processor/TryProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/TryProcessor.java b/camel-core/src/main/java/org/apache/camel/processor/TryProcessor.java
index bc8f98f..82b3a43 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/TryProcessor.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/TryProcessor.java
@@ -53,7 +53,7 @@ public class TryProcessor extends ServiceSupport implements AsyncProcessor,
Navi
     }
 
     public String toString() {
-        String catchText = catchClauses == null || catchClauses.isEmpty() ? "": " Catches
{" + catchClauses + "}";
+        String catchText = catchClauses == null || catchClauses.isEmpty() ? "" : " Catches
{" + catchClauses + "}";
         String finallyText = (finallyProcessor == null) ? "" : " Finally {" + finallyProcessor
+ "}";
         return "Try {" + tryProcessor + "}" + catchText + finallyText;
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/7593694b/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 71d8a43..b43cc36 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
@@ -33,10 +33,11 @@ public interface Container {
      */
     public static final class Instance {
 
-        private Instance() {}
-
         private static Container container;
 
+        private Instance() {
+        }
+
         /**
          * Access the registered Container.
          *


Mime
View raw message