From: Nick Burch Date: Thu, 6 Oct 2011 23:14:09 +0000 (+0000) Subject: Fix bug #51681 - doc example bug X-Git-Tag: REL_3_8_BETA5~85 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=822442a75bad97911b8995bf410b0df986d24bcd;p=poi.git Fix bug #51681 - doc example bug git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179895 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/spreadsheet/how-to.xml b/src/documentation/content/xdocs/spreadsheet/how-to.xml index b6f2e1b7de..3f423d9fc3 100644 --- a/src/documentation/content/xdocs/spreadsheet/how-to.xml +++ b/src/documentation/content/xdocs/spreadsheet/how-to.xml @@ -600,6 +600,7 @@ public class ExampleEventUserModel { if(nextIsString) { int idx = Integer.parseInt(lastContents); lastContents = new XSSFRichTextString(sst.getEntryAt(idx)).toString(); + nextIsString = false; } // v => contents of a cell