diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestTableName.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestTableName.java index 80d84f979ba..fd441e76577 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestTableName.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestTableName.java @@ -154,7 +154,7 @@ public class TestTableName extends TestWatcher { @Test public void testValueOf() { - Map inCache = new HashMap<>(); + Map inCache = new HashMap(); // fill cache for (Names name : names) { inCache.put(name.nn, TableName.valueOf(name.ns, name.tn));