hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject [1/7] hbase git commit: HBASE-18980 Suppress SelfComparison error in tests
Date Tue, 10 Oct 2017 17:03:17 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 282842721 -> 739ca50e9
  refs/heads/branch-1.1 eeb9cf020 -> 1e391bb86
  refs/heads/branch-1.2 bd63eb73c -> fd8d4e24b
  refs/heads/branch-1.3 0d8f9683b -> 04fa819e0
  refs/heads/branch-1.4 968eea84a -> 411e4d6c7
  refs/heads/branch-2 d5b76547f -> e268ec8d7
  refs/heads/master 8597b19b3 -> 73b6bd028


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/73b6bd02
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/73b6bd02
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/73b6bd02

Branch: refs/heads/master
Commit: 73b6bd0283eb4a9a9704a15d07974cde829ee2b6
Parents: 8597b19
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:15 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/73b6bd02/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/73b6bd02/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