Skip to content

Commit 869d23b

Browse files
author
Niall Pemberton
committed
IO-171 Document that IOCase assumes there are only two OSes: Windows and Unix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1002159 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3ca6e37 commit 869d23b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/java/org/apache/commons/io/IOCase.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ public final class IOCase implements Serializable {
5151
* The constant for case sensitivity determined by the current operating system.
5252
* Windows is case-insensitive when comparing filenames, Unix is case-sensitive.
5353
* <p>
54+
* <strong>Note:</strong> This only caters for Windows and Unix. Other operating
55+
* systems (e.g. OSX and OpenVMS) are treated as case sensitive if they use the
56+
* Unix file separator and case-insensitive if they use the Windows file separator
57+
* (see {@link java.io.File#separatorChar}).
58+
* <p>
5459
* If you derialize this constant of Windows, and deserialize on Unix, or vice
5560
* versa, then the value of the case-sensitivity flag will change.
5661
*/

0 commit comments

Comments
 (0)