]> source.dussan.org Git - poi.git/commitdiff
[bug-64542] allow file channel closing to be controlled by calling code
authorPJ Fanning <fanningpj@apache.org>
Sat, 9 Oct 2021 13:55:04 +0000 (13:55 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sat, 9 Oct 2021 13:55:04 +0000 (13:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894071 13f79535-47bb-0310-9956-ffa450edef68

poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java

index e7ff65e01eaa65e116bcb1315c107b51ef18b914..3f5e8f4507c66f40f7d112d56c51b32501913800 100644 (file)
@@ -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>