hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject [7/7] hbase git commit: HBASE-18980 Suppress SelfComparison error in tests
Date Tue, 10 Oct 2017 17:03:23 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/1e391bb8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1e391bb8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1e391bb8

Branch: refs/heads/branch-1.1
Commit: 1e391bb868bc73027398be2d1e6f9ac8ee2e7a78
Parents: eeb9cf0
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 12:02:42 2017 -0500

----------------------------------------------------------------------
 .../hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1e391bb8/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 9e02f18..c49a6bd 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
@@ -34,6 +34,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);


Mime
View raw message