浏览代码

Sync with trunk for NPOIFS

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/NIO_32_BRANCH@1055380 13f79535-47bb-0310-9956-ffa450edef68
NIO_32_BRANCH
Nick Burch 13 年前
父节点
当前提交
6a0f8c5452
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
    0
      src/java/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.java

+ 8
- 0
src/java/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.java 查看文件

@@ -183,6 +183,14 @@ public class NPOIFSFileSystem extends BlockStore
channel.close();
}
throw e;
} catch(RuntimeException e) {
// Comes from Iterators etc.
// TODO Decide if we can handle these better whilst
// still sticking to the iterator contract
if(closeChannelOnError) {
channel.close();
}
throw e;
}
}

正在加载...
取消
保存