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:
Javen O'Neal 2016-03-22 07:04:51 +00:00
parent c6e27348f8
commit fbee1bd860
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public class SharedStringsTable extends POIXMLDocumentPart {
* @return array of CTRst beans
*/
public List<CTRst> getItems() {
return strings;
return Collections.unmodifiableList(strings);
}
/**