void (int start1, int end1, int start12, int end12, int start22, int end22) { CharSequence sequence1 = myText1.subSequence(start1, end1); CharSequence sequence21 = myText2.subSequence(start12, end12); CharSequence sequence22 = myText2.subSequence(start22, end22); Couple<FairDiffIterable> changes = comparePunctuation2Side(sequence1, sequence21, sequence22, myIndicator); for (Range ch : changes.first.iterateUnchanged()) { myBuilder.markEqual(start1 + ch.start1, start12 + ch.start2, start1 + ch.end1, start12 + ch.end2); } for (Range ch : changes.second.iterateUnchanged()) { myBuilder.markEqual(start1 + ch.start1, start22 + ch.start2, start1 + ch.end1, start22 + ch.end2); } }