hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject git commit: Amend HBASE-12156 TableName cache doesn't used for once of valueOf methods (Andrey Stepachev)
Date Thu, 02 Oct 2014 17:36:41 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 b53608293 -> 1e673a0f0


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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1e673a0f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1e673a0f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1e673a0f

Branch: refs/heads/0.98
Commit: 1e673a0f0a7018a796526b6050a742f1a1de3d63
Parents: b536082
Author: Andrew Purtell <apurtell@apache.org>
Authored: Thu Oct 2 10:33:19 2014 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu Oct 2 10:34:58 2014 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/hadoop/hbase/util/TestTableName.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1e673a0f/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestTableName.java
----------------------------------------------------------------------
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 80d84f9..fd441e7 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<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));


Mime
View raw message