aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/util
diff options
context:
space:
mode:
authorJosh Micich <josh@apache.org>2009-08-18 19:49:28 +0000
committerJosh Micich <josh@apache.org>2009-08-18 19:49:28 +0000
commit27b61f396a324f7e7882a7e9bbf80c60cef573a0 (patch)
treecb4869ab9298a8676d18d5385d8e84aa5e850a66 /src/ooxml/java/org/apache/poi/util
parenta2cd9a942e1cc575254690ea4b7e9053cade05b3 (diff)
downloadpoi-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-xsrc/ooxml/java/org/apache/poi/util/PackageHelper.java2
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)