diff options
author | Javen O'Neal <onealj@apache.org> | 2016-06-25 05:22:05 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-06-25 05:22:05 +0000 |
commit | b8e40941a147d70b1db557e829fbdcff8eae80e1 (patch) | |
tree | 10a6bc11ae964e01ecfdda3a64d544a85bdafe0c /src/examples | |
parent | a9cd69509866f86ecec7c797cdcc9585bc79cd34 (diff) | |
download | poi-b8e40941a147d70b1db557e829fbdcff8eae80e1.tar.gz poi-b8e40941a147d70b1db557e829fbdcff8eae80e1.zip |
bug 59748: replace remaining Hashtable usages in contrib/poi-ruby and hssf examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750182 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/src/org/apache/poi/hssf/usermodel/examples/InCellLists.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/InCellLists.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/InCellLists.java index ace1ef3a98..a666c6ab7b 100644 --- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/InCellLists.java +++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/InCellLists.java @@ -127,7 +127,8 @@ public class InCellLists { // a Hashtable or HashMap as the ArrayList will preserve the
// ordering of the items added to it; the first item added will
// be the first item recovered and the last item added, the last
- // item recovered.
+ // item recovered. Alternatively, a LinkedHashMap could be used
+ // to preserve order.
row = sheet.createRow(4);
cell = row.createCell(0);
multiLevelListItems = new ArrayList<MultiLevelListItem>();
|