From 88a3fb842c0a7c4e5a64ad5d53f0a76e22ba5805 Mon Sep 17 00:00:00 2001 From: Eric Tschetter Date: Fri, 2 Nov 2012 14:24:43 -0500 Subject: [PATCH] 1) New attempt at making OpenJDK 6 happy --- .../main/java/com/metamx/druid/VersionedIntervalTimeline.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/metamx/druid/VersionedIntervalTimeline.java b/common/src/main/java/com/metamx/druid/VersionedIntervalTimeline.java index a45821c7dba..bee025c8270 100644 --- a/common/src/main/java/com/metamx/druid/VersionedIntervalTimeline.java +++ b/common/src/main/java/com/metamx/druid/VersionedIntervalTimeline.java @@ -88,7 +88,7 @@ public class VersionedIntervalTimeline if (exists == null) { entry = new TimelineEntry(interval, version, new PartitionHolder(object)); - TreeMap versionEntry = Maps.newTreeMap(versionComparator); + TreeMap versionEntry = new TreeMap(versionComparator); versionEntry.put(version, entry); allTimelineEntries.put(interval, versionEntry); } else {