commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1403355&view=rev
Log:
Checkstyle: 'for' is not followed by whitespace. Remove extra space char.

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=1403355&r1=1403354&r2=1403355&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:15:21 2012
@@ -242,14 +242,14 @@ public class SftpFileSystem
             int code = executeCommand("id -G", output);
             if (code != 0)
             {
-                throw new JSchException("Could not get the groups id of the current user
(error code: " + code  + ")");
+                throw new JSchException("Could not get the groups id of the current user
(error code: " + code + ")");
             }
 
             // Retrieve the different groups
             final String[] groups = output.toString().trim().split("\\s+");
 
-            int [] groupsIds = new int [groups.length];
-            for(int i = 0; i < groups.length; i++)
+            int[] groupsIds = new int[groups.length];
+            for (int i = 0; i < groups.length; i++)
             {
                 groupsIds[i] = Integer.parseInt(groups[i]);
             }



Mime
View raw message