public static void verify(@NotNull DiffIterable iterable) { if (!isVerifyEnabled()) return; verify(iterable.iterateChanges()); verify(iterable.iterateUnchanged()); verifyFullCover(iterable); }
@NotNull public static List<DiffFragment> convertIntoFragments(@NotNull DiffIterable changes) { final List<DiffFragment> fragments = new ArrayList<DiffFragment>(); for (Range ch : changes.iterateChanges()) { fragments.add(new DiffFragmentImpl(ch.start1, ch.end1, ch.start2, ch.end2)); } return fragments; }