aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-06-19 21:53:37 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-06-19 21:53:37 +0000
commit8fb019a313adf679f44ec57fe4c566d76d7ac87f (patch)
tree119e04dc57c9ddf05a7e1959108de066aef4048a /src/examples
parent8e9d10a5ce8b966c7924027bdb4886c02b43e8fb (diff)
downloadpoi-8fb019a313adf679f44ec57fe4c566d76d7ac87f.tar.gz
poi-8fb019a313adf679f44ec57fe4c566d76d7ac87f.zip
try to fix windows failures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879011 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java b/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java
index 174a71c79a..567323d514 100644
--- a/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java
+++ b/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java
@@ -163,7 +163,7 @@ public final class CopyCompare {
// Ensures that the directory hierarchy for a document in a POI fileystem is in place.
// Get the root directory. It does not have to be created since it always exists in a POIFS.
DirectoryEntry de = poiFs.getRoot();
- if ("/".equals(path.toString())) {
+ if (File.separator.equals(path.toString())) {
de.setStorageClsid(event.getStorageClassId());
}