From e1d0ec2ebe9e7993d4ad380710c620ef4a713e8a Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Fri, 3 Jul 2015 12:19:34 -0700 Subject: [PATCH] HBASE-14022 TestMultiTableSnapshotInputFormatImpl uses a class only available in JRE 1.7+ --- .../hbase/mapreduce/TestMultiTableSnapshotInputFormatImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestMultiTableSnapshotInputFormatImpl.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestMultiTableSnapshotInputFormatImpl.java index b4b8056..f6e8216 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestMultiTableSnapshotInputFormatImpl.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestMultiTableSnapshotInputFormatImpl.java @@ -38,7 +38,6 @@ import java.io.IOException; import java.util.Collection; import java.util.List; import java.util.Map; -import java.util.Objects; import static org.junit.Assert.assertEquals; import static org.mockito.Matchers.any; @@ -125,8 +124,8 @@ public class TestMultiTableSnapshotInputFormatImpl { return false; } ScanWithEquals otherScan = (ScanWithEquals) obj; - return Objects.equals(this.startRow, otherScan.startRow) && Objects - .equals(this.stopRow, otherScan.stopRow); + return this.startRow.equals(otherScan.startRow) && + this.stopRow.equals(otherScan.stopRow); } @Override -- 2.2.2