container/events/src/main/java/org/mobicents/slee/container/event/DefaultEventContextData.java
public EventContext[] removeEventsBarried() {
		// this is safe because adding events and calling this is ever done by
		// same executor/thread
		final EventContext[] result = barriedEvents
				.toArray(new EventContext[barriedEvents.size()]);
		barriedEvents = null;
		return result;
	}
public EventContext[] removeEventsBarried() {
		// this is safe because adding events and calling this is ever done by
		// same executor/thread
		final EventContext[] result = barriedEvents
				.toArray(new EventContext[barriedEvents.size()]);
		barriedEvents = null;
		return result;
	}
public EventContext [ ] removeEventsBarried ( ) { // this is safe because adding events and calling this is ever done by // same executor/thread final EventContext [ ] result = barriedEvents . toArray ( new EventContext [ barriedEvents . size ( ) ] ) ; barriedEvents = null ; return result ; }
/*
(non-Javadoc)

@see
org.mobicents.slee.container.event.EventContextData#removeEventsBarried()
/ * ( non - Javadoc )