示例#1
0
 /** This method checks if the table itself is a false positive and should be flagged. */
 public void checkForFalsePositive() {
   int almostEmptyColumns = 0;
   for (Column2 column : dataInColumns) {
     if (column.getNumberOfCells() == 1) {
       almostEmptyColumns += 1;
     }
   }
   if (almostEmptyColumns >= 2) {
     validation.setFalsePositive(true);
   }
 }