commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r1002159 - /commons/proper/io/trunk/src/java/org/apache/commons/io/IOCase.java
Date Tue, 28 Sep 2010 13:30:17 GMT
Author: niallp
Date: Tue Sep 28 13:30:17 2010
New Revision: 1002159

URL: http://svn.apache.org/viewvc?rev=1002159&view=rev
Log:
IO-171 Document that IOCase assumes there are only two OSes: Windows and Unix

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

Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/IOCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/IOCase.java?rev=1002159&r1=1002158&r2=1002159&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/IOCase.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/IOCase.java Tue Sep 28 13:30:17
2010
@@ -51,6 +51,11 @@ public final class IOCase implements Ser
      * The constant for case sensitivity determined by the current operating system.
      * Windows is case-insensitive when comparing filenames, Unix is case-sensitive.
      * <p>
+     * <strong>Note:</strong> This only caters for Windows and Unix. Other operating
+     * systems (e.g. OSX and OpenVMS) are treated as case sensitive if they use the
+     * Unix file separator and case-insensitive if they use the Windows file separator
+     * (see {@link java.io.File#separatorChar}).
+     * <p>
      * If you derialize this constant of Windows, and deserialize on Unix, or vice
      * versa, then the value of the case-sensitivity flag will change.
      */



Mime
View raw message