/[Apache-SVN]
ViewVC logotype

Revision 1681822


Jump to revision: Previous Next
Author: centic
Date: Tue May 26 19:30:04 2015 UTC (9 years ago)
Changed paths: 3
Log Message:
Make POIXMLDocument implement Closeable as it holds an OCPPackage with open resources and thus should be closed after usage. Until now only XSSFWorkbook did this, but it makes sense for all derived classes.
Also make close() in POIXMLDocument public to not have to re-implement it in all sub-classes.

Changed paths

Path Details
Directorypoi/trunk/src/ooxml/java/org/apache/poi/POIXMLDocument.java modified , text changed
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/TestPOIXMLDocument.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26