camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [09/10] camel git commit: Indentation fix
Date Wed, 18 Jan 2017 08:42:38 GMT
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 <patrickmcgloin@Patricks-MacBook-Air.local>
Authored: Wed Jan 18 08:12:14 2017 +0100
Committer: Claus Ibsen <davsclaus@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


Mime
View raw message