HBASE-13393 - Addendum for trunk deprecating KeyValue.isCreate() (Ram)

This commit is contained in:
ramkrishna 2015-05-28 11:28:23 +05:30
parent 7de4881e3a
commit cd9c6de023
1 changed files with 2 additions and 0 deletions

View File

@ -2461,7 +2461,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;