if (nots.size() > 0) {
Enumeration ids = nots.keys();
Enumeration notifs = nots.elements();
while (notifs.hasMoreElements()) {
AgentId to = (AgentId) ids.nextElement();
RequestGroupNot not = (RequestGroupNot) notifs.nextElement();
if (to.getTo() == proxyAgent.getId().getTo()) {
not.setPersistent(false);
proxyAgent.sendNot(to, not);
} else {
proxyAgent.sendNot(to, not);
}
}