diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java b/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java index 65267a17c..859181d7a 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java @@ -157,8 +157,7 @@ public final class HSSFPatriarch implements HSSFShapeContainer, Drawing { return shape; } - @Override - public HSSFComment createCellComment(ClientAnchor anchor){ + public HSSFComment createCellComment(ClientAnchor anchor) { return createComment((HSSFAnchor)anchor); } @@ -258,7 +257,7 @@ public final class HSSFPatriarch implements HSSFShapeContainer, Drawing { } /** - * Returns the aggregate escher record we're bound to + * Returns the aggregate escher record we're bound to */ protected EscherAggregate _getBoundAggregate() { return _boundAggregate; diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java index 230819a02..a2a651f97 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java @@ -241,9 +241,7 @@ public final class XSSFDrawing extends POIXMLDocumentPart implements Drawing { * to the sheet. * @return the newly created comment. */ - @Override - public XSSFComment createCellComment(ClientAnchor anchor) - { + public XSSFComment createCellComment(ClientAnchor anchor) { XSSFClientAnchor ca = (XSSFClientAnchor)anchor; XSSFSheet sheet = (XSSFSheet)getParent();