1) New attempt at making OpenJDK 6 happy

This commit is contained in:
Eric Tschetter 2012-11-02 14:24:43 -05:00
parent 38ed1d8b75
commit 88a3fb842c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class VersionedIntervalTimeline<VersionType, ObjectType>
if (exists == null) { if (exists == null) {
entry = new TimelineEntry(interval, version, new PartitionHolder<ObjectType>(object)); entry = new TimelineEntry(interval, version, new PartitionHolder<ObjectType>(object));
TreeMap<VersionType, TimelineEntry> versionEntry = Maps.newTreeMap(versionComparator); TreeMap<VersionType, TimelineEntry> versionEntry = new TreeMap<VersionType, TimelineEntry>(versionComparator);
versionEntry.put(version, entry); versionEntry.put(version, entry);
allTimelineEntries.put(interval, versionEntry); allTimelineEntries.put(interval, versionEntry);
} else { } else {