Esempio n. 1
0
 /**
  * Helper method which returns the next Edit for an Iterator over Edits.
  * When there are no more edits left this method will return the constant
  * END_EDIT.
  *
  * @param it
  *            the iterator for which the next edit should be returned
  * @return the next edit from the iterator or END_EDIT if there no more
  *         edits
  */
 private static Edit nextEdit(EditList.EditListIterator it)
 {
     return (it.hasNext() ? it.next() : END_EDIT);
 }