HBASE-24032 [Addendum] use equals instead of ==
This commit is contained in:
parent
3b8576e6d2
commit
1f88e0d9a2
|
@ -470,7 +470,7 @@ public class RSGroupAdminEndpoint extends RSGroupAdminService
|
||||||
groupName = RSGroupInfo.DEFAULT_GROUP;
|
groupName = RSGroupInfo.DEFAULT_GROUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (groupName == RSGroupInfo.DEFAULT_GROUP) {
|
if (groupName.equals(RSGroupInfo.DEFAULT_GROUP)) {
|
||||||
TableName tableName = desc.getTableName();
|
TableName tableName = desc.getTableName();
|
||||||
groupName = script.getRSGroup(
|
groupName = script.getRSGroup(
|
||||||
tableName.getNamespaceAsString(),
|
tableName.getNamespaceAsString(),
|
||||||
|
|
Loading…
Reference in New Issue