HBASE-24032 [Addendum] use equals instead of ==

This commit is contained in:
Reid Chan 2020-03-24 14:57:58 +08:00
parent 3b8576e6d2
commit 1f88e0d9a2
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ public class RSGroupAdminEndpoint extends RSGroupAdminService
groupName = RSGroupInfo.DEFAULT_GROUP;
}
if (groupName == RSGroupInfo.DEFAULT_GROUP) {
if (groupName.equals(RSGroupInfo.DEFAULT_GROUP)) {
TableName tableName = desc.getTableName();
groupName = script.getRSGroup(
tableName.getNamespaceAsString(),