mirror of https://github.com/apache/poi.git
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:
parent
31f5443674
commit
6e6a638ca0
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue