use of cucumber.deps.difflib.Patch in project cucumber-jvm by cucumber.
the class TableDiffer method calculateDiffs.
public void calculateDiffs() throws TableDiffException {
Patch patch = DiffUtils.diff(from.diffableRows(), to.diffableRows());
List<Delta> deltas = patch.getDeltas();
if (!deltas.isEmpty()) {
Map<Integer, Delta> deltasByLine = createDeltasByLine(deltas);
throw new TableDiffException(from, to, createTableDiff(deltasByLine));
}
}