void endRow() {
            MutableInt cnt = rowLengthCounts.get(colCount);
            if (cnt == null) {
                cnt = new MutableInt(1);
                rowLengthCounts.put(colCount, cnt);
            } else {
                cnt.increment();
            }
            if (rowZero && colCount <= 1) {
                // row zero single column => no delimiter in first line
                rowZeroEmpty = true;
            }
            colCount = 0;
            rowZero = false;
        }
@param reader
@param quoteCharacter
@return whether or not this was a correctly encapsulated cell
@throws UnsurprisingEOF if the file ended immediately after the close quote
@throws EOFException    if the file ended in the middle of the encapsulated section
@throws IOException     on other IOExceptions
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-text-module/src/main/java/org/apache/tika/parser/csv/CSVSniffer.java