This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new c40c0c39 More precise enum definition
c40c0c39 is described below
commit c40c0c3989a6261db8615a217dddba41a9d05c3b
Author: Gary Gregory <[email protected]>
AuthorDate: Sun May 7 14:48:44 2023 -0400
More precise enum definition
---
src/main/java/org/apache/commons/io/IOCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/io/IOCase.java
b/src/main/java/org/apache/commons/io/IOCase.java
index dbb6f0a2..58b13f7d 100644
--- a/src/main/java/org/apache/commons/io/IOCase.java
+++ b/src/main/java/org/apache/commons/io/IOCase.java
@@ -63,7 +63,7 @@ public enum IOCase {
* versa, then the value of the case-sensitivity flag will change.
* </p>
*/
- SYSTEM("System", !FilenameUtils.isSystemWindows());
+ SYSTEM("System", FileSystem.getCurrent().isCaseSensitive());
/** Serialization version. */
private static final long serialVersionUID = -6343169151696340687L;