]> source.dussan.org Git - poi.git/commitdiff
Sync example with the website
authorNick Burch <nick@apache.org>
Thu, 11 Sep 2014 09:36:57 +0000 (09:36 +0000)
committerNick Burch <nick@apache.org>
Thu, 11 Sep 2014 09:36:57 +0000 (09:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1624237 13f79535-47bb-0310-9956-ffa450edef68

src/examples/src/org/apache/poi/xssf/eventusermodel/examples/FromHowTo.java

index fc6604c649569729cccd045c146c3793eaa27303..4df63448ede05f127991d9d8ba7675444018cac5 100644 (file)
@@ -115,6 +115,7 @@ public class FromHowTo {
                        if(nextIsString) {
                                int idx = Integer.parseInt(lastContents);
                                lastContents = new XSSFRichTextString(sst.getEntryAt(idx)).toString();
+            nextIsString = false;
                        }
 
                        // v => contents of a cell