You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2015/02/09 23:48:42 UTC
svn commit: r1658597 - in /poi/site/src/documentation/content/xdocs:
spreadsheet/quick-guide.xml status.xml
Author: centic
Date: Mon Feb 9 22:48:41 2015
New Revision: 1658597
URL: http://svn.apache.org/r1658597
Log:
Bug 57479: Fix samples in quick-guide and update status.xml with two bugfixes.
Modified:
poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml
poi/site/src/documentation/content/xdocs/status.xml
Modified: poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml?rev=1658597&r1=1658596&r2=1658597&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml (original)
+++ poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml Mon Feb 9 22:48:41 2015
@@ -225,14 +225,14 @@
closing the file when done):</p>
<source>
// HSSFWorkbook, File
- NPOIFSFileSytem fs = new NPOIFSFileSystem(new File("file.xls"));
- HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot());
+ NPOIFSFileSystem fs = new NPOIFSFileSystem(new File("file.xls"));
+ HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot(), true);
....
fs.close();
// HSSFWorkbook, InputStream, needs more memory
- NPOIFSFileSytem fs = new NPOIFSFileSystem(myInputStream);
- HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot());
+ NPOIFSFileSystem fs = new NPOIFSFileSystem(myInputStream);
+ HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot(), true);
// XSSFWorkbook, File
OPCPackage pkg = OPCPackage.open(new File("file.xlsx"));
Modified: poi/site/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/status.xml?rev=1658597&r1=1658596&r2=1658597&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/status.xml (original)
+++ poi/site/src/documentation/content/xdocs/status.xml Mon Feb 9 22:48:41 2015
@@ -73,6 +73,8 @@
</release>
<release version="3.11" date="2014-12-21">
+ <action dev="PD" type="fix" fixes-bug="57479">Typo in HSSFWorkbook javadocs and quick-guide.</action>
+ <action dev="PD" type="fix" fixes-bug="57480">Fix some unnecessary casts, generics, Eclipse warnings, ...</action>
<action dev="PD" type="add">Added workarounds to tests for JDK 6 LineBreakMeasurer bug</action>
<action dev="PD" type="fix" fixes-bug="57250">XMLSlideShow.setSlideOrder() produces corrupted CTSlideIdList</action>
<action dev="PD" type="fix" fixes-bug="57272">Deadlock on corrupted PPT file</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org