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:33 UTC
[04/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/e6c623be
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e6c623be
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e6c623be
Branch: refs/heads/master
Commit: e6c623be10dd02e03dad4be0abce5c0da6561f56
Parents: 3734bc8
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:24:03 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/e6c623be/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 9468c15..a0dd10f 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
@@ -342,11 +342,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;
}
@@ -443,4 +443,4 @@ public class ScpOperations implements RemoteFileOperations<ScpFile> {
return null;
}
}
-}
+}
\ No newline at end of file