From 1db8a56baafa71dc7fac5100be0b08164feaa28c Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Mon, 6 Aug 2012 06:48:51 +0000 Subject: [PATCH] removed #Override from interfaces to keep javac on JDK 1.5 happy git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369733 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java | 4 ---- src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java | 5 ----- src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java | 4 ---- 3 files changed, 13 deletions(-) diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index 40f85033cf..bcb71781ca 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -2006,26 +2006,22 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet { } - @Override public CellRangeAddress getRepeatingRows() { return getRepeatingRowsOrColums(true); } - @Override public CellRangeAddress getRepeatingColumns() { return getRepeatingRowsOrColums(false); } - @Override public void setRepeatingRows(CellRangeAddress rowRangeRef) { CellRangeAddress columnRangeRef = getRepeatingColumns(); setRepeatingRowsAndColumns(rowRangeRef, columnRangeRef); } - @Override public void setRepeatingColumns(CellRangeAddress columnRangeRef) { CellRangeAddress rowRangeRef = getRepeatingRows(); setRepeatingRowsAndColumns(rowRangeRef, columnRangeRef); diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java index 84589a6fdc..a5a731b17c 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java @@ -1278,23 +1278,18 @@ public class SXSSFSheet implements Sheet, Cloneable } - @Override public CellRangeAddress getRepeatingRows() { return _sh.getRepeatingRows(); } - - @Override public CellRangeAddress getRepeatingColumns() { return _sh.getRepeatingColumns(); } - @Override public void setRepeatingRows(CellRangeAddress rowRangeRef) { _sh.setRepeatingRows(rowRangeRef); } - @Override public void setRepeatingColumns(CellRangeAddress columnRangeRef) { _sh.setRepeatingColumns(columnRangeRef); } diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java index a69bf09f43..ccf2419873 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java @@ -3188,25 +3188,21 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet { } - @Override public CellRangeAddress getRepeatingRows() { return getRepeatingRowsOrColums(true); } - @Override public CellRangeAddress getRepeatingColumns() { return getRepeatingRowsOrColums(false); } - @Override public void setRepeatingRows(CellRangeAddress rowRangeRef) { CellRangeAddress columnRangeRef = getRepeatingColumns(); setRepeatingRowsAndColumns(rowRangeRef, columnRangeRef); } - @Override public void setRepeatingColumns(CellRangeAddress columnRangeRef) { CellRangeAddress rowRangeRef = getRepeatingRows(); setRepeatingRowsAndColumns(rowRangeRef, columnRangeRef);