From 63f2d3cbdc8151f5f61f33e0a078c51b9ac076a5 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Tue, 21 Aug 2018 09:26:09 -0500 Subject: [PATCH] HBASE-21076 Addendum fixup of added checkstyle errors and comment. --- .../java/org/apache/hadoop/hbase/rest/TestTableResource.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableResource.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableResource.java index 8bd13a0197b..7cbc6318b75 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableResource.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableResource.java @@ -35,7 +35,6 @@ import org.apache.hadoop.hbase.HRegionInfo; import org.apache.hadoop.hbase.HRegionLocation; import org.apache.hadoop.hbase.ServerName; import org.apache.hadoop.hbase.TableName; -import org.apache.hadoop.hbase.client.Admin; import org.apache.hadoop.hbase.client.Connection; import org.apache.hadoop.hbase.client.Durability; import org.apache.hadoop.hbase.client.Put; @@ -51,7 +50,6 @@ import org.apache.hadoop.hbase.rest.model.TableRegionModel; import org.apache.hadoop.hbase.testclassification.MediumTests; import org.apache.hadoop.hbase.testclassification.RestTests; import org.apache.hadoop.hbase.util.Bytes; -import org.apache.hadoop.util.StringUtils; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.ClassRule; @@ -119,7 +117,7 @@ public class TestTableResource { RegionLocator regionLocator = connection.getRegionLocator(TABLE); List m = regionLocator.getAllRegionLocations(); - // should have three regions now + // should have four regions now assertEquals(NUM_REGIONS, m.size()); regionMap = m; LOG.error("regions: " + regionMap);