commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1403356 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java
Date Mon, 29 Oct 2012 15:16:09 GMT
Author: ggregory
Date: Mon Oct 29 15:16:09 2012
New Revision: 1403356

URL: http://svn.apache.org/viewvc?rev=1403356&view=rev
Log:
Checkstyle: '}' should be alone on a line. Format throw on one line.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java?rev=1403356&r1=1403355&r2=1403356&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java
Mon Oct 29 15:16:09 2012
@@ -273,8 +273,10 @@ public class SftpFileSystem
         {
             StringBuilder output = new StringBuilder();
             int code = executeCommand("id -u", output);
-            if (code != 0) {
-                throw new FileSystemException("Could not get the user id of the current user
(error code: " + code  + ")");
+            if (code != 0)
+            {
+                throw new FileSystemException("Could not get the user id of the current user
(error code: " + code
+                        + ")");
             }
             uid = Integer.parseInt(output.toString().trim());
         }



Mime
View raw message