Bug 66007 - Why CloseIgnoringInputStream class is removed form POI-5.2.0
Summary: Why CloseIgnoringInputStream class is removed form POI-5.2.0
Status: RESOLVED INFORMATIONPROVIDED
Alias: None
Product: POI
Classification: Unclassified
Component: POIFS (show other bugs)
Version: 5.2.0-FINAL
Hardware: PC All
: P2 critical (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-12 08:18 UTC by tuspatil
Modified: 2022-04-12 09:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.