Data (@Nullable List<? extends SimpleDiffChange> changes, @NotNull Settings settings) { Iterator<int[]> it = map(changes, change -> new int[]{ change.getStartLine(Side.LEFT), change.getEndLine(Side.LEFT), change.getStartLine(Side.RIGHT), change.getEndLine(Side.RIGHT), }); return computeFoldedRanges(it, settings); }