You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2017/05/24 08:33:55 UTC
hbase git commit: HBASE-18096 Limit HFileUtil visibility and add
missing annotations
Repository: hbase
Updated Branches:
refs/heads/branch-1.2 e5e47fc99 -> cb136d8d2
HBASE-18096 Limit HFileUtil visibility and add missing annotations
Signed-off-by: Chia-Ping Tsai <ch...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cb136d8d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cb136d8d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cb136d8d
Branch: refs/heads/branch-1.2
Commit: cb136d8d25568a97b0f8568178a7eb48b42bba89
Parents: e5e47fc
Author: Balazs Meszaros <ba...@cloudera.com>
Authored: Tue May 23 20:41:14 2017 +0200
Committer: Chia-Ping Tsai <ch...@gmail.com>
Committed: Wed May 24 16:33:20 2017 +0800
----------------------------------------------------------------------
.../main/java/org/apache/hadoop/hbase/io/hfile/HFileUtil.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/cb136d8d/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileUtil.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileUtil.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileUtil.java
index 835450c..83feb72 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileUtil.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileUtil.java
@@ -20,8 +20,10 @@ package org.apache.hadoop.hbase.io.hfile;
import java.io.IOException;
import org.apache.hadoop.fs.FSDataInputStream;
+import org.apache.hadoop.hbase.classification.InterfaceAudience;
-public class HFileUtil {
+@InterfaceAudience.Private
+class HFileUtil {
/** guards against NullPointer
* utility which tries to seek on the DFSIS and will try an alternative source