497498499500501502503504505506507
List l = (List) pendingEvents.remove(id); if (l != null) { Iterator it = l.iterator(); while (it.hasNext()) { JADEEvent ev = (JADEEvent) it.next(); ev.notifyProcessed(null); } } } }
511512513514515516517518519520521
while (it1.hasNext()) { List l = (List) it1.next(); Iterator it2 = l.iterator(); while (it2.hasNext()) { JADEEvent ev = (JADEEvent) it2.next(); ev.notifyProcessed(null); } } } } }