From 35ce12035ab617a54239d109b2e235f77133e3a1 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sat, 9 Oct 2021 13:55:04 +0000 Subject: [PATCH] [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 --- .../java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java | 4 ++-- 1 file 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 } /** - *

Creates a POIFSFileSystem from an open FileChannel. This uses - * less memory than creating from an InputStream.

+ *

Creates a POIFSFileSystem from an open {@code FileChannel}. This uses + * less memory than creating from an {@code InputStream}.

* *

Note that with this constructor, you will need to call {@link #close()} * when you're done to have the underlying resources closed. The closeChannel -- 2.39.5