like getTables, returns a collection that cannot be modified

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alain Béarez 2020-03-27 03:13:34 +00:00
parent 31f5443674
commit 6e6a638ca0
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ public class XWPFTableCell implements IBody, ICell {
* returns a list of paragraphs
*/
public List<XWPFParagraph> getParagraphs() {
return paragraphs;
return Collections.unmodifiableList(paragraphs);
}
/**