You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/10/29 16:15:22 UTC

svn commit: r1403355 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java

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]);
             }