long runningSum = 0; int addedCnt = 0; baseScanner.startNext(); Cell cell; while ((cell = baseScanner.peekNextCell(limit)) != null && (limit <= 0 || addedCnt < limit)) {
long runningSum = 0; int addedCnt = 0; baseScanner.startNext(); Cell cell; while ((cell = baseScanner.peekNextCell(limit)) != null && (limit <= 0 || addedCnt < limit)) {