Skip to content

Commit 3f9ce86

Browse files
authored
HBASE-23246 Fix error prone warning in TestMetricsUserSourceImpl (#789)
Signed-off-by: Sean Busbey <busbey@apache.org> Signed-off-by: Guangxu Cheng <guangxucheng@gmail.com>
1 parent 2451023 commit 3f9ce86

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hbase-hadoop2-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsUserSourceImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ public void testCompareToHashCodeEquals() throws Exception {
4747
assertTrue(one.compareTo(two) != 0);
4848
assertTrue(two.compareTo(one) != 0);
4949
assertTrue(two.compareTo(one) != one.compareTo(two));
50-
assertTrue(two.compareTo(two) == 0);
5150
}
5251

53-
5452
@Test (expected = RuntimeException.class)
5553
public void testNoGetRegionServerMetricsSourceImpl() throws Exception {
5654
// This should throw an exception because MetricsUserSourceImpl should only

0 commit comments

Comments
 (0)