commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1362110 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
Date Mon, 16 Jul 2012 16:11:31 GMT
Author: ggregory
Date: Mon Jul 16 16:11:31 2012
New Revision: 1362110

URL: http://svn.apache.org/viewvc?rev=1362110&view=rev
Log:
In-line code.

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

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java?rev=1362110&r1=1362109&r2=1362110&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
Mon Jul 16 16:11:31 2012
@@ -380,8 +380,7 @@ public class SftpFileObject extends Abst
     @Override
     protected boolean doIsExecutable() throws Exception
     {
-        final PosixPermissions permissions = getPermissions(true);
-        return permissions.isExecutable();
+        return getPermissions(true).isExecutable();
     }
 
 



Mime
View raw message