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

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


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

commit b7117a443d700e6a8eb308d64aac020a6f67094d
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 a9795d6ba91..3ca23a618ae 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 66581d5acc6..964e9a5bbd7 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