diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java index dcfeb5a61..97c82791c 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java @@ -1196,16 +1196,10 @@ public class XSSFWorkbook extends POIXMLDocument implements Workbook { * Alias for {@link #sheetIterator()} to allow * foreach loops * - * Iterator iterator() was replaced with Iterator iterator() - * to make iterating over a container (Workbook, Sheet, Row) consistent across POI spreadsheets. - * This breaks backwards compatibility and may affect your code. - * See {@link XSSFWorkbook#xssfSheetIterator} for how to upgrade your code to be compatible - * with the new interface. - * * Note: remove() is not supported on this iterator. * Use {@link #removeSheetAt(int)} to remove sheets instead. * - * @return an iterator of the sheets. + * @return an iterator of the sheets. */ @Override public Iterator iterator() {