From 8fb019a313adf679f44ec57fe4c566d76d7ac87f Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Fri, 19 Jun 2020 21:53:37 +0000 Subject: try to fix windows failures git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879011 13f79535-47bb-0310-9956-ffa450edef68 --- src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); } -- cgit v1.2.3