changeset 1206:f0d8b3a09c00

Fix build failure on JDK 6,7 after 7901398.
author shade
date Thu, 23 Apr 2015 00:39:00 +0300
parents a494b191404e
children 549a04ac4526
files jmh-core/src/main/java/org/openjdk/jmh/util/Deduplicator.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/util/Deduplicator.java	Wed Apr 22 22:33:59 2015 +0300
+++ b/jmh-core/src/main/java/org/openjdk/jmh/util/Deduplicator.java	Thu Apr 23 00:39:00 2015 +0300
@@ -24,12 +24,12 @@
  */
 package org.openjdk.jmh.util;
 
-import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentMap;
 
 public class Deduplicator<T> {
 
-    final Map<T, T> map;
+    final ConcurrentMap<T, T> map;
 
     public Deduplicator() {
         map = new ConcurrentHashMap<T, T>();