Skip to content

Commit 13259f4

Browse files
committed
HBASE-24032 [Addendum] use equals instead of ==
1 parent 44a5219 commit 13259f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ void assignTableToGroup(HTableDescriptor desc) throws IOException {
474474
groupName = RSGroupInfo.DEFAULT_GROUP;
475475
}
476476

477-
if (groupName == RSGroupInfo.DEFAULT_GROUP) {
477+
if (groupName.equals(RSGroupInfo.DEFAULT_GROUP)) {
478478
TableName tableName = desc.getTableName();
479479
groupName = script.getRSGroup(
480480
tableName.getNamespaceAsString(),

0 commit comments

Comments
 (0)