HBASE-22764 Fixed remaining Checkstyle issues in the hbase-rsgroup module

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Jan Hentschel 2019-07-30 08:55:40 +02:00
parent 4565e9f43b
commit 2338269905
No known key found for this signature in database
GPG Key ID: 5CD818B19CC299A3
1 changed files with 2 additions and 4 deletions

View File

@ -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 <code>name</code>
*/
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<Address> servers, String targetGroupName)
throws IOException {
public void moveServers(Set<Address> servers, String targetGroupName) throws IOException {
if (servers == null) {
throw new ConstraintException("The list of servers to move cannot be null.");
}