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 2014/06/03 23:47:44 UTC
svn commit: r1599805 -
/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
Author: sebb
Date: Tue Jun 3 21:47:44 2014
New Revision: 1599805
URL: http://svn.apache.org/r1599805
Log:
Typo in exception message
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1599805&r1=1599804&r2=1599805&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java Tue Jun 3 21:47:44 2014
@@ -258,7 +258,7 @@ public class FileSystemUtils {
*/
long freeSpaceOS(final String path, final int os, final boolean kb, final long timeout) throws IOException {
if (path == null) {
- throw new IllegalArgumentException("Path must not be empty");
+ throw new IllegalArgumentException("Path must not be null");
}
switch (os) {
case WINDOWS: