return unmodifiable shared strings to guarentee parallel data structures stay in sync
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736144 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a61e242e86
commit
dd308cd87e
@ -206,7 +206,7 @@ public class SharedStringsTable extends POIXMLDocumentPart {
|
||||
* @return array of CTRst beans
|
||||
*/
|
||||
public List<CTRst> getItems() {
|
||||
return strings;
|
||||
return Collections.unmodifiableList(strings);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user