diff options
author | Josh Micich <josh@apache.org> | 2009-08-18 19:49:28 +0000 |
---|---|---|
committer | Josh Micich <josh@apache.org> | 2009-08-18 19:49:28 +0000 |
commit | 27b61f396a324f7e7882a7e9bbf80c60cef573a0 (patch) | |
tree | cb4869ab9298a8676d18d5385d8e84aa5e850a66 /src/ooxml/java/org/apache/poi/util | |
parent | a2cd9a942e1cc575254690ea4b7e9053cade05b3 (diff) | |
download | poi-27b61f396a324f7e7882a7e9bbf80c60cef573a0.tar.gz poi-27b61f396a324f7e7882a7e9bbf80c60cef573a0.zip |
Fixed compiler warnings - unnecessary throws declaration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805552 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org/apache/poi/util')
-rwxr-xr-x | src/ooxml/java/org/apache/poi/util/PackageHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/util/PackageHelper.java b/src/ooxml/java/org/apache/poi/util/PackageHelper.java index 3fefe53a03..5d8d9ade75 100755 --- a/src/ooxml/java/org/apache/poi/util/PackageHelper.java +++ b/src/ooxml/java/org/apache/poi/util/PackageHelper.java @@ -97,7 +97,7 @@ public final class PackageHelper { /** * Creates an empty file in the default temporary-file directory, */ - public static File createTempFile() throws IOException { + public static File createTempFile() { File file = TempFile.createTempFile("poi-ooxml-", ".tmp"); //there is no way to pass an existing file to Package.create(file), //delete first, the file will be re-created in Packe.create(file) |