commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1599805 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
Date Tue, 03 Jun 2014 21:47:44 GMT
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:



Mime
View raw message