hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject [2/7] hbase git commit: HBASE-18980 Suppress SelfComparison error in tests
Date Tue, 10 Oct 2017 17:03:18 GMT
HBASE-18980 Suppress SelfComparison error in tests


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

Branch: refs/heads/branch-2
Commit: e268ec8d7773762ab79ee69c28aea311104d4531
Parents: d5b7654
Author: Mike Drob <mdrob@apache.org>
Authored: Tue Oct 10 11:20:16 2017 -0500
Committer: Mike Drob <mdrob@apache.org>
Committed: Tue Oct 10 11:58:28 2017 -0500

----------------------------------------------------------------------
 .../hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java      | 1 +
 .../hadoop/hbase/regionserver/TestMetricsTableSourceImpl.java       | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e268ec8d/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
----------------------------------------------------------------------
diff --git a/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
b/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
index b01bbe3..53d42bb 100644
--- a/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
+++ b/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
@@ -32,6 +32,7 @@ import org.junit.experimental.categories.Category;
 @Category({MetricsTests.class, SmallTests.class})
 public class TestMetricsRegionSourceImpl {
 
+  @SuppressWarnings("SelfComparison")
   @Test
   public void testCompareToHashCodeEquals() throws Exception {
     MetricsRegionServerSourceFactory fact = CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);

http://git-wip-us.apache.org/repos/asf/hbase/blob/e268ec8d/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsTableSourceImpl.java
----------------------------------------------------------------------
diff --git a/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsTableSourceImpl.java
b/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsTableSourceImpl.java
index 0c2350f..9a1f016 100644
--- a/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsTableSourceImpl.java
+++ b/hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsTableSourceImpl.java
@@ -34,6 +34,7 @@ import org.junit.experimental.categories.Category;
 @Category({MetricsTests.class, SmallTests.class})
 public class TestMetricsTableSourceImpl {
 
+  @SuppressWarnings("SelfComparison")
   @Test
   public void testCompareToHashCode() throws Exception {
     MetricsRegionServerSourceFactory metricsFact =


Mime
View raw message