mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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…
x
Reference in New Issue
Block a user