Fixed CS

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

Branch: refs/heads/camel-2.16.x
Commit: 2ad57ce0d17620559551b3e2f52ff8e56bb975a6
Parents: d13cc32
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Mon Jun 27 09:05:32 2016 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Mon Jun 27 09:31:10 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/git/producer/GitProducer.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2ad57ce0/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
----------------------------------------------------------------------
diff --git 
a/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
 
b/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
index dbc3c61..5c949a9 100644
--- 
a/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
+++ 
b/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
@@ -167,9 +167,9 @@ public class GitProducer extends DefaultProducer {
             LOG.error("There was an error in Git " + operation + " operation");
             throw e;
         } finally {
-               if (ObjectHelper.isNotEmpty(result)) {
+            if (ObjectHelper.isNotEmpty(result)) {
                 result.close();
-               }
+            }
         }
     }
 
@@ -184,9 +184,9 @@ public class GitProducer extends DefaultProducer {
             LOG.error("There was an error in Git " + operation + " operation");
             throw e;
         } finally {
-               if (ObjectHelper.isNotEmpty(result)) {
+            if (ObjectHelper.isNotEmpty(result)) {
                 result.close();
-               }
+            }
         }
     }
 

Reply via email to