/** * Calls <code>perform</code> on all <code>Edit</code>s in <code>edits</code>. * * @param edits a list of <code>Edit</code>s * @throws BadLocationException if an <code>Edit</code> threw such an exception. */ protected void executeEdits(List edits) throws BadLocationException { for (Iterator it= edits.iterator(); it.hasNext();) { Edit edit= (Edit) it.next(); edit.perform(); } }
/** * Calls <code>perform</code> on all <code>Edit</code>s in <code>edits</code>. * * @param edits a list of <code>Edit</code>s * @throws BadLocationException if an <code>Edit</code> threw such an exception. */ protected void executeEdits(List<Edit> edits) throws BadLocationException { for (Iterator<Edit> it= edits.iterator(); it.hasNext();) { Edit edit= it.next(); edit.perform(); } }
/** * Calls <code>perform</code> on all <code>Edit</code>s in <code>edits</code>. * * @param edits a list of <code>Edit</code>s * @throws BadLocationException if an <code>Edit</code> threw such an exception. */ protected void executeEdits(List<Edit> edits) throws BadLocationException { for (Iterator<Edit> it= edits.iterator(); it.hasNext();) { Edit edit= it.next(); edit.perform(); } }