Removes an eventRequest. The eventRequest is disabled and the removed from the requests managed by this EventRequestManager. Once the eventRequest is deleted, no operations (for example, {@link EventRequest#setEnabled}) are permitted - attempts to do so will generally cause an {@link InvalidRequestStateException}. No other eventRequests are effected.
Because this method changes the underlying lists of event requests, attempting to directly delete from a list returned by a request accessor (e.g. below):
Iterator iter = requestManager.stepRequests().iterator(); while (iter.hasNext()) { requestManager.deleteEventRequest(iter.next()); }
may cause a {@link java.util.ConcurrentModificationException}. Instead use {@link #deleteEventRequests(List) deleteEventRequests(List)}or copy the list before iterating.
@param eventRequest the eventRequest to remove