You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/01/18 08:42:38 UTC

[09/10] camel git commit: Indentation fix

Indentation fix


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

Branch: refs/heads/camel-2.17.x
Commit: 5136cf532d9c62c26b596808c1c5d3c1733250e4
Parents: 603c3f3
Author: Patrick McGloin <pa...@Patricks-MacBook-Air.local>
Authored: Wed Jan 18 08:12:14 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jan 18 09:42:11 2017 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/scp/ScpOperations.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5136cf53/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java
index 39dabc3..bf38d3c 100644
--- a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java
+++ b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpOperations.java
@@ -338,11 +338,11 @@ public class ScpOperations implements RemoteFileOperations<ScpFile> {
         String message;
         int answer = is.read();
         switch (answer) {
-			case 0:
-				break;
-        	default:
-            	message = "[scp] Return Code [" + answer + "]" + readLine(is);
-            	throw new IOException(message);
+        case 0:
+            break;
+        default:                
+            message = "[scp] Return Code [" + answer + "] " + readLine(is);
+            throw new IOException(message);
         }
         return answer;
     }
@@ -439,4 +439,4 @@ public class ScpOperations implements RemoteFileOperations<ScpFile> {
             return null;
         }
     }
-}
+}
\ No newline at end of file