From 1f88e0d9a2fc057e6f16d7f5597131737439925d Mon Sep 17 00:00:00 2001 From: Reid Chan Date: Tue, 24 Mar 2020 14:57:58 +0800 Subject: [PATCH] HBASE-24032 [Addendum] use equals instead of == --- .../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 b8e060c800b..b1a4c86d54a 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(),