aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java2
-rw-r--r--src/java/org/apache/poi/hssf/OldExcelFormatException.java5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java b/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java
index 1a8cbf6a03..82b3f6d36e 100644
--- a/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java
@@ -44,7 +44,7 @@ public final class POIXMLDocumentHandler {
} finally {
poifs.close();
}
- throw new IOException("wrong file format or file extension for OO XML file");
+ throw new IOException("Wrong file format or file extension for OO XML file");
}
return false;
}
diff --git a/src/java/org/apache/poi/hssf/OldExcelFormatException.java b/src/java/org/apache/poi/hssf/OldExcelFormatException.java
index beb8c02c73..e42e613d84 100644
--- a/src/java/org/apache/poi/hssf/OldExcelFormatException.java
+++ b/src/java/org/apache/poi/hssf/OldExcelFormatException.java
@@ -17,12 +17,7 @@
package org.apache.poi.hssf;
import org.apache.poi.OldFileFormatException;
-import org.apache.poi.util.Removal;
-/**
- * @deprecated POI 3.16 beta 1. Use {@link org.apache.poi.OldFileFormatException}
- */
-@Removal(version="3.18")
public class OldExcelFormatException extends OldFileFormatException {
public OldExcelFormatException(String s) {
super(s);