Bug 59724 - Provide Closeable on all POIDocument classes
Summary: Provide Closeable on all POIDocument classes
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 3.15-dev
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-19 21:51 UTC by Nick Burch
Modified: 2016-06-19 22:17 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Burch 2016-06-19 21:51:33 UTC
As noticed in TIKA-2015, all POIXMLDocument classes implement Closeable, but only some OLE2-based POIDocument classes do

For both consistency, and allowing cleanup of open files when opening indirectly from a file, all should offer Closeable.
Comment 1 Nick Burch 2016-06-19 22:17:49 UTC
Fixed in r1749213, and used to simplify the POIOLE2TextExtractor closing in r1749214.