camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/2] camel git commit: Fixed CS
Date Tue, 22 Mar 2016 12:42:10 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/39e368c5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/39e368c5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/39e368c5

Branch: refs/heads/camel-2.15.x
Commit: 39e368c55a5fa1f62c6744bf9cf0e4711ee9538c
Parents: 1e3d43d
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Tue Mar 22 13:33:16 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Tue Mar 22 13:39:49 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/mina2/Mina2Consumer.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/39e368c5/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
index 6fd5a8b..2e913e7 100644
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
@@ -141,7 +141,7 @@ public class Mina2Consumer extends DefaultConsumer {
         if (workerPool != null) {
             workerPool.shutdown();
         }
-        if (acceptor != null){
+        if (acceptor != null) {
             acceptor.dispose(true);
         }
         super.doShutdown();
@@ -375,7 +375,7 @@ public class Mina2Consumer extends DefaultConsumer {
 
         @Override
         public void exceptionCaught(IoSession session, Throwable cause) throws Exception
{
-            if (cause instanceof IOException){
+            if (cause instanceof IOException) {
                 LOG.debug("IOExceptions are automatically handled by MINA");
                 return;
             }


Mime
View raw message