HBASE-20876 Improve docs style in HConstants (Contributed by Wei-Chiu Chuang)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8c857633
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8c857633
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8c857633

Branch: refs/heads/HBASE-20749
Commit: 8c857633271cb844b01deead8c4df9b573bc99e1
Parents: 2997b6d
Author: Reid Chan <[email protected]>
Authored: Wed Jul 18 11:42:26 2018 +0800
Committer: Reid Chan <[email protected]>
Committed: Wed Jul 18 11:42:26 2018 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/HConstants.java      | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8c857633/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
index 2e23484..beb65fa 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
@@ -1353,9 +1353,11 @@ public final class HConstants {
   /** Config key for hbase temporary directory in hdfs */
   public static final String TEMPORARY_FS_DIRECTORY_KEY = "hbase.fs.tmp.dir";
 
-  /** Don't use it! This'll get you the wrong path in a secure cluster.
+  /**
+   * Don't use it! This'll get you the wrong path in a secure cluster.
    * Use FileSystem.getHomeDirectory() or
-   * "/user/" + UserGroupInformation.getCurrentUser().getShortUserName()  */
+   * "/user/" + UserGroupInformation.getCurrentUser().getShortUserName()
+   */
   public static final String DEFAULT_TEMPORARY_HDFS_DIRECTORY = "/user/"
       + System.getProperty("user.name") + "/hbase-staging";
 

Reply via email to