You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/03/06 02:57:43 UTC
svn commit: r919687 -
/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
Author: sebb
Date: Sat Mar 6 01:57:43 2010
New Revision: 919687
URL: http://svn.apache.org/viewvc?rev=919687&view=rev
Log:
IO-187 FileSystemUtils.freeSpaceKb doesn't work with relative paths on Linux
Modified:
commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java?rev=919687&r1=919686&r2=919687&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java Sat Mar 6 01:57:43 2010
@@ -316,7 +316,6 @@
if (path.length() == 0) {
throw new IllegalArgumentException("Path must not be empty");
}
- path = FilenameUtils.normalize(path);
// build and run the 'dir' command
String flags = "-";