diff options
Diffstat (limited to 'src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java')
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java b/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java index b37c71ab7d..8f7b30d3c1 100644 --- a/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java +++ b/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java @@ -162,7 +162,7 @@ public class XSSFSheetXMLHandler extends DefaultHandler { private void init() { if (commentsTable != null) { - commentCellRefs = new LinkedList<CellAddress>(); + commentCellRefs = new LinkedList<>(); //noinspection deprecation for (CTComment comment : commentsTable.getCTComments().getCommentList().getCommentArray()) { commentCellRefs.add(new CellAddress(comment.getRef())); |