}
}
public void removeTransientNotificationEvents(
Collection<NotificationEvent> notificationEvents) {
_reentrantLock.lock();
<BUG>try {
_getNotificationEvents().removeAll(notificationEvents);
</BUG>
}
finally {

}
if (PropsValues.USER_NOTIFICATION_EVENT_CONFIRMATION_ENABLED) {
UserNotificationEventLocalServiceUtil.
deleteUserNotificationEvents(notificationEventUuids);
}
}
catch (Exception e) {
throw new ChannelException(
"Unable to confirm delivery for user " + getUserId() , e);
}
finally {
