This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
The following commit(s) were added to refs/heads/trunk by this push:
new 75e9383a5c try test fix again
75e9383a5c is described below
commit 75e9383a5cb1baed1dc60858f280e0d09fc774d5
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Aug 3 14:13:12 2025 +0100
try test fix again
---
poi/src/test/java/org/apache/poi/util/TestIOUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/poi/src/test/java/org/apache/poi/util/TestIOUtils.java
b/poi/src/test/java/org/apache/poi/util/TestIOUtils.java
index b2e3c673a7..05ac383a17 100644
--- a/poi/src/test/java/org/apache/poi/util/TestIOUtils.java
+++ b/poi/src/test/java/org/apache/poi/util/TestIOUtils.java
@@ -631,7 +631,7 @@ final class TestIOUtils {
private static String windowsPathIfNecessary(String path) {
// this is a workaround for the Windows file system which doesn't
allow slashes in file names
- return File.pathSeparatorChar == '/' ? path : path.replace('/',
File.pathSeparatorChar);
+ return File.separatorChar == '/' ? path : path.replace('/',
File.separatorChar);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]