poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1878871 - /poi/trunk/src/integrationtest/org/apache/poi/POIFileScanner.java
Date Mon, 15 Jun 2020 20:51:50 GMT
Author: centic
Date: Mon Jun 15 20:51:50 2020
New Revision: 1878871

URL: http://svn.apache.org/viewvc?rev=1878871&view=rev
Log:
Handle more detected FileMagic types gracefully when running regression testing

Modified:
    poi/trunk/src/integrationtest/org/apache/poi/POIFileScanner.java

Modified: poi/trunk/src/integrationtest/org/apache/poi/POIFileScanner.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/org/apache/poi/POIFileScanner.java?rev=1878871&r1=1878870&r2=1878871&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/org/apache/poi/POIFileScanner.java (original)
+++ poi/trunk/src/integrationtest/org/apache/poi/POIFileScanner.java Mon Jun 15 20:51:50 2020
@@ -178,6 +178,13 @@ public class POIFileScanner {
             case RTF:
             case PDF:
             case HTML:
+            case XML:
+            case JPEG:
+            case GIF:
+            case TIFF:
+            case WMF:
+            case EMF:
+            case BMP:
                 return TestAllFiles.NullFileHandler.instance;
         }
 



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


Mime
View raw message