Amend HBASE-12156 TableName cache doesn't used for once of valueOf methods (Andrey Stepachev)

Fix use of diamond operator in TestTableName, we are still using
-source 1.6 for building 0.98
This commit is contained in:
Andrew Purtell 2014-10-02 10:33:19 -07:00 committed by stack
parent 4598628ef2
commit 483d97cb67
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public class TestTableName extends TestWatcher {
@Test
public void testValueOf() {
Map<String, TableName> inCache = new HashMap<>();
Map<String, TableName> inCache = new HashMap<String, TableName>();
// fill cache
for (Names name : names) {
inCache.put(name.nn, TableName.valueOf(name.ns, name.tn));