commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r264867 - /jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
Date Tue, 30 Aug 2005 21:22:14 GMT
Author: scolebourne
Date: Tue Aug 30 14:22:10 2005
New Revision: 264867

URL: http://svn.apache.org/viewcvs?rev=264867&view=rev
Log:
Add comment

Modified:
    jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java

Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java?rev=264867&r1=264866&r2=264867&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java (original)
+++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java Tue
Aug 30 14:22:10 2005
@@ -152,7 +152,7 @@
     protected long getFreeSpaceWindows(String path) throws IOException {
         path = FilenameUtils.normalize(path);
         if (path.length() > 2 && path.charAt(1) == ':') {
-            path = path.substring(0, 2);
+            path = path.substring(0, 2);  // seems to make it work
         }
 
         // build and run the 'dir' command



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message