/[Apache-SVN]
ViewVC logotype

Revision 1918982


Jump to revision: Previous Next
Author: centic
Date: Sun Jul 7 05:03:15 2024 UTC (2 months, 3 weeks ago)
Changed paths: 3
Log Message:
HSSFWorkbook.getSheet(): Return first found sheet

We do not need to loop over all sheets always but should
be able to return the first found sheet.

This may change semantics for cases where there are
multiple sheets where name only differs in case, but
the JavaDoc did not state which one will be returned.

All three implementations (HSSF, XSSF, SXSSF)
now behave the same way.

Closes #653

Changed paths

Path Details
Directorypoi/trunk/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java modified , text changed
Directorypoi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java modified , text changed
Directorypoi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26