This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.5 by this push:
     new 0cd5d2dcb2a HBASE-27200 Clean up error-prone findings in 
hbase-archetypes (#4621)
0cd5d2dcb2a is described below

commit 0cd5d2dcb2a5523c6e6a92c3bed5893251a14945
Author: Andrew Purtell <[email protected]>
AuthorDate: Mon Jul 18 15:31:34 2022 -0700

    HBASE-27200 Clean up error-prone findings in hbase-archetypes (#4621)
    
    Signed-off-by: Duo Zhang <[email protected]>
---
 .../java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java   | 2 +-
 .../org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java
 
b/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java
index 198ee1c7afd..5eb5081d435 100644
--- 
a/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java
+++ 
b/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java
@@ -43,7 +43,7 @@ import org.apache.hadoop.hbase.util.Bytes;
  */
 public final class HelloHBase {
 
-  protected static final String MY_NAMESPACE_NAME = "myTestNamespace";
+  static final String MY_NAMESPACE_NAME = "myTestNamespace";
   static final TableName MY_TABLE_NAME = TableName.valueOf("myTestTable");
   static final byte[] MY_COLUMN_FAMILY_NAME = Bytes.toBytes("cf");
   static final byte[] MY_FIRST_COLUMN_QUALIFIER = 
Bytes.toBytes("myFirstColumn");
diff --git 
a/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java
 
b/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java
index 44629174601..00a82fe50db 100644
--- 
a/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java
+++ 
b/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java
@@ -42,7 +42,7 @@ import org.apache.hadoop.hbase.util.Bytes;
  */
 public final class HelloHBase {
 
-  protected static final String MY_NAMESPACE_NAME = "myTestNamespace";
+  static final String MY_NAMESPACE_NAME = "myTestNamespace";
   static final TableName MY_TABLE_NAME = TableName.valueOf("myTestTable");
   static final byte[] MY_COLUMN_FAMILY_NAME = Bytes.toBytes("cf");
   static final byte[] MY_FIRST_COLUMN_QUALIFIER = 
Bytes.toBytes("myFirstColumn");

Reply via email to