HBASE-18980 Suppress SelfComparison error in tests
This commit is contained in:
parent
8597b19b3d
commit
73b6bd0283
|
@ -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);
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue