Bug 66007

Summary: Why CloseIgnoringInputStream class is removed form POI-5.2.0
Product: POI Reporter: tuspatil
Component: POIFSAssignee: POI Developers List <dev>
Status: RESOLVED INFORMATIONPROVIDED    
Severity: critical    
Priority: P2    
Version: 5.2.0-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description tuspatil 2022-04-12 08:18:20 UTC
Hi Team,

We are using "CloseIgnoringInputStream.class" from POI, but after upgrading POI jar to the version 5.2.0, we found that this class is removed.

Need to understand reason for removal of this class and please let us know if we have any alternative for same.

We are eagerly waiting for your revert. 

Thanks.
Comment 1 PJ Fanning 2022-04-12 08:56:50 UTC
That was an internal class used for the internals of POI code. POI's API is about working with Microsoft format files - not about provide IO utils.

You can see the old code at https://github.com/apache/poi/blob/007a6f6160248475be356ac0199a96a73ce31f8b/poi/src/main/java/org/apache/poi/util/CloseIgnoringInputStream.java

You can copy/paste that into your own code base if you want to continue to use it.
Comment 2 tuspatil 2022-04-12 09:06:27 UTC
Thanks for immediate response.