mirror of https://github.com/apache/poi.git
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
c6e27348f8
commit
fbee1bd860
|
@ -206,7 +206,7 @@ public class SharedStringsTable extends POIXMLDocumentPart {
|
||||||
* @return array of CTRst beans
|
* @return array of CTRst beans
|
||||||
*/
|
*/
|
||||||
public List<CTRst> getItems() {
|
public List<CTRst> getItems() {
|
||||||
return strings;
|
return Collections.unmodifiableList(strings);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue