aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosh Micich <josh@apache.org>2009-11-27 20:47:39 +0000
committerJosh Micich <josh@apache.org>2009-11-27 20:47:39 +0000
commit1c34c308133ad930ca1087818411c10b0ba52fb5 (patch)
tree71aeb2d56e95044da77c964b4e1e31aa705a78c8 /src
parent21d7a81d3ca11a7a57034b8390a8cd22e99c3c6f (diff)
downloadpoi-1c34c308133ad930ca1087818411c10b0ba52fb5.tar.gz
poi-1c34c308133ad930ca1087818411c10b0ba52fb5.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java5
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java4
2 files changed, 3 insertions, 6 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java b/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java
index 65267a17c4..859181d7ac 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 230819a02f..a2a651f97d 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();