Javadoc fix

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799320 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2017-06-20 09:04:02 +00:00
parent 171692edf2
commit 4a51090ae7

View File

@ -258,7 +258,7 @@ public final class IOUtils {
} }
/** /**
* Like {@link #write(POIDocument, File)}, but for writing a POI Document in place (to the same file that it was opened from). * Like {@link #writeAndClose(POIDocument, File)}, but for writing a POI Document in place (to the same file that it was opened from).
* This will attempt to close the document, even if an error occurred while writing the document. * This will attempt to close the document, even if an error occurred while writing the document.
* *
* If you are using Java 7 or higher, you may prefer to use a try-with-resources statement instead. * If you are using Java 7 or higher, you may prefer to use a try-with-resources statement instead.