You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by re...@apache.org on 2020/03/24 06:58:21 UTC
[hbase] branch branch-1 updated: HBASE-24032 [Addendum] use equals
instead of ==
This is an automated email from the ASF dual-hosted git repository.
reidchan pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 1f88e0d HBASE-24032 [Addendum] use equals instead of ==
1f88e0d is described below
commit 1f88e0d9a2fc057e6f16d7f5597131737439925d
Author: Reid Chan <re...@apache.org>
AuthorDate: Tue Mar 24 14:57:58 2020 +0800
HBASE-24032 [Addendum] use equals instead of ==
---
.../main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
index b8e060c..b1a4c86 100644
--- a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
+++ b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
@@ -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(),