From 233826990564588a97902c2a8321eb2c6861831a Mon Sep 17 00:00:00 2001 From: Jan Hentschel Date: Tue, 30 Jul 2019 08:55:40 +0200 Subject: [PATCH] HBASE-22764 Fixed remaining Checkstyle issues in the hbase-rsgroup module Signed-off-by: stack --- .../org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java index 3b403823ee6..8b38e725e16 100644 --- a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java +++ b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java @@ -97,8 +97,7 @@ public class RSGroupAdminServer implements RSGroupAdmin { * Check passed name. Fail if nulls or if corresponding RSGroupInfo not found. * @return The RSGroupInfo named name */ - private RSGroupInfo getAndCheckRSGroupInfo(String name) - throws IOException { + private RSGroupInfo getAndCheckRSGroupInfo(String name) throws IOException { if (StringUtils.isEmpty(name)) { throw new ConstraintException("RSGroup cannot be null."); } @@ -305,8 +304,7 @@ public class RSGroupAdminServer implements RSGroupAdmin { value="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE", justification="Ignoring complaint because don't know what it is complaining about") @Override - public void moveServers(Set
servers, String targetGroupName) - throws IOException { + public void moveServers(Set
servers, String targetGroupName) throws IOException { if (servers == null) { throw new ConstraintException("The list of servers to move cannot be null."); }