}
public void compactLogEntries() {
ChangeLogEntry changeLogEntry;
for (int i = 0; i < cvsLogEntries.size(); i++) {
ILogEntry cvsEntry = cvsLogEntries.get(i);
ChangeLogEntryKey key = new ChangeLogEntryKey(
cvsRepositoryLocation, cvsEntry.getAuthor(), cvsEntry
.getDate());
if (changeLogEntries.containsKey(key)) {
changeLogEntry = (ChangeLogEntry) changeLogEntries.get(key);
changeLogEntry.addRemoteFile(cvsEntry.getRemoteFile(), cvsEntry
.getRevision());
} else {
changeLogEntry = new ChangeLogEntry(cvsRepositoryLocation,
cvsEntry.getAuthor(), cvsEntry.getRevision(), cvsEntry
.getRemoteFile(), cvsEntry.getComment(),
cvsEntry.getDate());
changeLogEntries.put(key,changeLogEntry);
}
}
cvsLogEntries.clear();
}