final StringBuffer buffer = new StringBuffer(info.toString());
// add comparable events
Iterator iter = info.comparableEvents.iterator();
while (iter.hasNext()) {
ComparableEvent current = (ComparableEvent)iter.next();
Iterator eventIterator = events.iterator();
boolean found = false;
while (!found && eventIterator.hasNext()) {
Event inEvent = (Event)eventIterator.next();
if ( inEvent instanceof ComparableEvent
&& current.equalsEvent((ComparableEvent)inEvent)) {
found = true;
}
}
if (!found) {
hasParams = this.addEvent(buffer, current, hasParams);