瀏覽代碼

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
pull/1/head
Josh Micich 14 年之前
父節點
當前提交
97a5bf3d61

+ 2
- 3
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;

+ 1
- 3
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();


Loading…
取消
儲存