small tweak to fix compiler error after r884918 (differences in @Override rules from java 5 to 6)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885000 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Josh Micich 2009-11-27 20:47:39 +00:00
parent 21d7a81d3c
commit 1c34c30813
2 changed files with 3 additions and 6 deletions

View File

@ -157,7 +157,6 @@ public final class HSSFPatriarch implements HSSFShapeContainer, Drawing {
return shape; return shape;
} }
@Override
public HSSFComment createCellComment(ClientAnchor anchor) { public HSSFComment createCellComment(ClientAnchor anchor) {
return createComment((HSSFAnchor)anchor); return createComment((HSSFAnchor)anchor);
} }

View File

@ -241,9 +241,7 @@ public final class XSSFDrawing extends POIXMLDocumentPart implements Drawing {
* to the sheet. * to the sheet.
* @return the newly created comment. * @return the newly created comment.
*/ */
@Override public XSSFComment createCellComment(ClientAnchor anchor) {
public XSSFComment createCellComment(ClientAnchor anchor)
{
XSSFClientAnchor ca = (XSSFClientAnchor)anchor; XSSFClientAnchor ca = (XSSFClientAnchor)anchor;
XSSFSheet sheet = (XSSFSheet)getParent(); XSSFSheet sheet = (XSSFSheet)getParent();