hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java index 8835957..66f4350 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java @@ -2460,7 +2460,9 @@ public class KeyValue implements Cell, HeapSize, Cloneable, SettableSequenceId, * @return Created KeyValue OR if we find a length of zero, we will return null which * can be useful marking a stream as done. * @throws IOException + * {@link Deprecated} As of 1.2. Use {@link KeyValueUtil#iscreate(InputStream, boolean)} instead. */ + @Deprecated public static KeyValue iscreate(final InputStream in) throws IOException { byte [] intBytes = new byte[Bytes.SIZEOF_INT]; int bytesRead = 0;