diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index 40f85033c..bcb71781c 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 84589a6fd..a5a731b17 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 a69bf09f4..ccf241987 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);