diff options
author | Dominik Stadler <centic@apache.org> | 2017-08-25 11:51:18 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2017-08-25 11:51:18 +0000 |
commit | df06e47470744acf3b851e9dfa3469f70fd1fb02 (patch) | |
tree | 914c36fd4d56e8d09b4661e0e3707dcbbb19b0a5 /src/java/org/apache/poi/util | |
parent | 225285edc6363d6a7c239b3db98e76867acf7770 (diff) | |
download | poi-df06e47470744acf3b851e9dfa3469f70fd1fb02.tar.gz poi-df06e47470744acf3b851e9dfa3469f70fd1fb02.zip |
Verify that bug 61294 is fixed now, add some more coverage for IOUtils in general
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806162 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/util')
-rw-r--r-- | src/java/org/apache/poi/util/IOUtils.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/poi/util/IOUtils.java b/src/java/org/apache/poi/util/IOUtils.java index b256591fa0..c2be578638 100644 --- a/src/java/org/apache/poi/util/IOUtils.java +++ b/src/java/org/apache/poi/util/IOUtils.java @@ -206,7 +206,7 @@ public final class IOUtils { * * @param doc a writeable document to write to the output stream * @param out the output stream that the document is written to - * @throws IOException + * @throws IOException thrown on errors writing to the stream */ public static void write(POIDocument doc, OutputStream out) throws IOException { try { @@ -225,7 +225,7 @@ public final class IOUtils { * * @param doc a writeable document to write to the output stream * @param out the output stream that the document is written to - * @throws IOException + * @throws IOException thrown on errors writing to the stream */ public static void write(Workbook doc, OutputStream out) throws IOException { try { @@ -245,7 +245,7 @@ public final class IOUtils { * * @param doc a writeable and closeable document to write to the output stream, then close * @param out the output stream that the document is written to - * @throws IOException + * @throws IOException thrown on errors writing to the stream */ public static void writeAndClose(POIDocument doc, OutputStream out) throws IOException { try { @@ -264,7 +264,7 @@ public final class IOUtils { * * @param doc a writeable and closeable document to write to the output file, then close * @param out the output file that the document is written to - * @throws IOException + * @throws IOException thrown on errors writing to the stream */ public static void writeAndClose(POIDocument doc, File out) throws IOException { try { @@ -282,7 +282,7 @@ public final class IOUtils { * This function exists for Java 6 code. * * @param doc a writeable document to write in-place - * @throws IOException + * @throws IOException thrown on errors writing to the file */ public static void writeAndClose(POIDocument doc) throws IOException { try { |