protected void process(PatchHistoryIterator iterator) throws PatchingException { while (iterator.hasNext() && canProceed()) { final String patch = iterator.next(this); if (includeCurrent()) { processedPatch(patch); } } // If there are errors, fail if (!errors.isEmpty()) { throw new PatchingException(errors.toString()); } }
protected void process(PatchHistoryIterator iterator) throws PatchingException { while (iterator.hasNext() && canProceed()) { final String patch = iterator.next(this); if (includeCurrent()) { processedPatch(patch); } } // If there are errors, fail if (!errors.isEmpty()) { throw new PatchingException(errors.toString()); } }
iterator.next();