diff options
author | Dominik Stadler <centic@apache.org> | 2017-09-17 11:07:48 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2017-09-17 11:07:48 +0000 |
commit | ec42ec1053cdd849923bcbc0ad99ec0613a34af5 (patch) | |
tree | ca02cafda605d8d708cb68ce3691836114400e60 /src/java/org/apache/poi/util/IOUtils.java | |
parent | bd00cb3e0d758091a7e60195ce7a1d9ee290c2f9 (diff) | |
download | poi-ec42ec1053cdd849923bcbc0ad99ec0613a34af5.tar.gz poi-ec42ec1053cdd849923bcbc0ad99ec0613a34af5.zip |
Some more code cleanup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/util/IOUtils.java')
-rw-r--r-- | src/java/org/apache/poi/util/IOUtils.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/util/IOUtils.java b/src/java/org/apache/poi/util/IOUtils.java index 5884c9e26a..e21ccaf031 100644 --- a/src/java/org/apache/poi/util/IOUtils.java +++ b/src/java/org/apache/poi/util/IOUtils.java @@ -211,6 +211,7 @@ public final class IOUtils { * @deprecated since 4.0, use try-with-resources, will be removed in 4.2 */ @Deprecated + @Removal(version="4.2") public static void write(POIDocument doc, OutputStream out) throws IOException { try { doc.write(out); @@ -233,6 +234,7 @@ public final class IOUtils { * @deprecated since 4.0, use try-with-resources, will be removed in 4.2 */ @Deprecated + @Removal(version="4.2") public static void write(Workbook doc, OutputStream out) throws IOException { try { doc.write(out); @@ -256,6 +258,7 @@ public final class IOUtils { * @deprecated since 4.0, use try-with-resources, will be removed in 4.2 */ @Deprecated + @Removal(version="4.2") public static void writeAndClose(POIDocument doc, OutputStream out) throws IOException { try { write(doc, out); @@ -278,6 +281,7 @@ public final class IOUtils { * @deprecated since 4.0, use try-with-resources, will be removed in 4.2 */ @Deprecated + @Removal(version="4.2") public static void writeAndClose(POIDocument doc, File out) throws IOException { try { doc.write(out); @@ -299,6 +303,7 @@ public final class IOUtils { * @deprecated since 4.0, use try-with-resources, will be removed in 4.2 */ @Deprecated + @Removal(version="4.2") public static void writeAndClose(POIDocument doc) throws IOException { try { doc.write(); @@ -314,6 +319,7 @@ public final class IOUtils { * @deprecated since 4.0, use try-with-resources, will be removed in 4.2 */ @Deprecated + @Removal(version="4.2") public static void writeAndClose(Workbook doc, OutputStream out) throws IOException { try { doc.write(out); |