You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2016/11/25 22:07:52 UTC

svn commit: r1771395 - in /poi/trunk/src: integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java java/org/apache/poi/hssf/OldExcelFormatException.java

Author: centic
Date: Fri Nov 25 22:07:52 2016
New Revision: 1771395

URL: http://svn.apache.org/viewvc?rev=1771395&view=rev
Log:
Revert deprecating a class that we still use ourselves and update error text slightly

Modified:
    poi/trunk/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java
    poi/trunk/src/java/org/apache/poi/hssf/OldExcelFormatException.java

Modified: poi/trunk/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java?rev=1771395&r1=1771394&r2=1771395&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java (original)
+++ poi/trunk/src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java Fri Nov 25 22:07:52 2016
@@ -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;
     }

Modified: poi/trunk/src/java/org/apache/poi/hssf/OldExcelFormatException.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/OldExcelFormatException.java?rev=1771395&r1=1771394&r2=1771395&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/OldExcelFormatException.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/OldExcelFormatException.java Fri Nov 25 22:07:52 2016
@@ -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);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org