Return-Path: X-Original-To: apmail-poi-commits-archive@minotaur.apache.org Delivered-To: apmail-poi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08F58102FA for ; Mon, 9 Feb 2015 22:48:43 +0000 (UTC) Received: (qmail 97106 invoked by uid 500); 9 Feb 2015 22:48:42 -0000 Delivered-To: apmail-poi-commits-archive@poi.apache.org Received: (qmail 97068 invoked by uid 500); 9 Feb 2015 22:48:42 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 97059 invoked by uid 99); 9 Feb 2015 22:48:42 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 22:48:42 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 7DD25AC006A for ; Mon, 9 Feb 2015 22:48:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1658597 - in /poi/site/src/documentation/content/xdocs: spreadsheet/quick-guide.xml status.xml Date: Mon, 09 Feb 2015 22:48:42 -0000 To: commits@poi.apache.org From: centic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150209224842.7DD25AC006A@hades.apache.org> 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):

// 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 @@ + Typo in HSSFWorkbook javadocs and quick-guide. + Fix some unnecessary casts, generics, Eclipse warnings, ... Added workarounds to tests for JDK 6 LineBreakMeasurer bug XMLSlideShow.setSlideOrder() produces corrupted CTSlideIdList Deadlock on corrupted PPT file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org