summaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-09 13:55:04 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-09 13:55:04 +0000
commit35ce12035ab617a54239d109b2e235f77133e3a1 (patch)
tree1bc654d357920967f2ec1a679802f67e2176094c /poi
parent2d7053d6673763b9cf067e639c7e1c555e74abc3 (diff)
downloadpoi-35ce12035ab617a54239d109b2e235f77133e3a1.tar.gz
poi-35ce12035ab617a54239d109b2e235f77133e3a1.zip
[bug-64542] allow file channel closing to be controlled by calling code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894071 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java b/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
index e7ff65e01e..3f5e8f4507 100644
--- a/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
+++ b/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
@@ -208,8 +208,8 @@ public class POIFSFileSystem extends BlockStore
}
/**
- * <p>Creates a POIFSFileSystem from an open <tt>FileChannel</tt>. This uses
- * less memory than creating from an <tt>InputStream</tt>.</p>
+ * <p>Creates a POIFSFileSystem from an open {@code FileChannel}. This uses
+ * less memory than creating from an {@code InputStream}.</p>
*
* <p>Note that with this constructor, you will need to call {@link #close()}
* when you're done to have the underlying resources closed. The <code>closeChannel</code>