HBASE-18096 Limit HFileUtil visibility and add missing annotations

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Balazs Meszaros 2017-05-23 20:41:14 +02:00 committed by Chia-Ping Tsai
parent d047cc9ecc
commit 80dd8bf51b
1 changed files with 3 additions and 1 deletions

View File

@ -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