瀏覽代碼

try to fix windows failures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879011 13f79535-47bb-0310-9956-ffa450edef68
tags/before_ooxml_3rd_edition
Andreas Beeker 4 年之前
父節點
當前提交
8fb019a313
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java

+ 1
- 1
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());
}


Loading…
取消
儲存