diff options
author | Dominik Stadler <centic@apache.org> | 2016-11-25 22:07:52 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-11-25 22:07:52 +0000 |
commit | d58dd553dcb6060c222d52c15ed0b0409bee3092 (patch) | |
tree | 5bf7c68fdaf05133f453b0605fcb38abefc6d8e4 | |
parent | ae664b543fb6658e85e4e99548e2b2b95240bfad (diff) | |
download | poi-d58dd553dcb6060c222d52c15ed0b0409bee3092.tar.gz poi-d58dd553dcb6060c222d52c15ed0b0409bee3092.zip |
Revert deprecating a class that we still use ourselves and update error text slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771395 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/poi/hssf/OldExcelFormatException.java | 5 |
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); |