/** * Adjusts the revision information to the given diff information. Any previous diff information * is discarded. <strong>Note:</strong> This is an internal framework method and must not be * called by clients. * * @param hunks the diff hunks to adjust the revision information to * @since 3.3 * @noreference This method is not intended to be referenced by clients. */ public void applyDiff(Hunk[] hunks) { fRanges= null; // mark for recomputation for (Iterator<Revision> revisions= getRevisions().iterator(); revisions.hasNext();) revisions.next().applyDiff(hunks); }
/** * Adjusts the revision information to the given diff information. Any previous diff information * is discarded. <strong>Note:</strong> This is an internal framework method and must not be * called by clients. * * @param hunks the diff hunks to adjust the revision information to * @since 3.3 * @noreference This method is not intended to be referenced by clients. */ public void applyDiff(Hunk[] hunks) { fRanges= null; // mark for recomputation for (Revision revision : getRevisions()) revision.applyDiff(hunks); }