Created attachment 23154 [details] BAD PATCH addresses bug: 46576 affects these files: M src/java/org/apache/poi/hssf/usermodel/HSSFCell.java M src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java M src/java/org/apache/poi/hssf/extractor/EventBasedExcelExtractor.java M src/ooxml/interfaces-jdk15/org/apache/poi/ss/extractor/ExcelExtractor.java M src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java augment ExcelExtractor interface to support extracting cells by type. EventBasedExcelExtractor implements ExcelExtractor interface. ensures HSSFCell constants match those of Cell. cleanup some stringbuffer->stringbuilder code. bz2, standard patch format: svn diff > mydiff.txt ; bzip2 mydiff.txt
Created attachment 23156 [details] bzip2 patch for bug 46576 prev patch is no good.
It isn't clear to me what the use-case is for this. Given how long it has been since this patch was proposed, the fact that the use isn't clear, and that the patch no longer applies cleanly, I'm going to close this as Won't Fix If someone can explain the use case, and why this logic belongs in the text extractor, please re-open the bug and comment