Skip to content

Commit 124fa34

Browse files
authored
HBASE-22764 Fixed remaining Checkstyle issues in the hbase-rsgroup module
Signed-off-by: stack <[email protected]>
1 parent 46a4323 commit 124fa34

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ private void checkOnlineServersOnly(Set<Address> servers) throws ConstraintExcep
112112
* Check passed name. Fail if nulls or if corresponding RSGroupInfo not found.
113113
* @return The RSGroupInfo named <code>name</code>
114114
*/
115-
private RSGroupInfo getAndCheckRSGroupInfo(String name)
116-
throws IOException {
115+
private RSGroupInfo getAndCheckRSGroupInfo(String name) throws IOException {
117116
if (StringUtils.isEmpty(name)) {
118117
throw new ConstraintException("RSGroup cannot be null.");
119118
}
@@ -329,8 +328,7 @@ private <T> void moveRegionsBetweenGroups(Set<T> regionsOwners, String targetGro
329328
value="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE",
330329
justification="Ignoring complaint because don't know what it is complaining about")
331330
@Override
332-
public void moveServers(Set<Address> servers, String targetGroupName)
333-
throws IOException {
331+
public void moveServers(Set<Address> servers, String targetGroupName) throws IOException {
334332
if (servers == null) {
335333
throw new ConstraintException("The list of servers to move cannot be null.");
336334
}

0 commit comments

Comments
 (0)