You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/01/21 09:19:05 UTC
svn commit: r1559934 -
/hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
Author: stack
Date: Tue Jan 21 08:19:04 2014
New Revision: 1559934
URL: http://svn.apache.org/r1559934
Log:
HBASE-10391 Deprecate KeyValue#getBuffer
Modified:
hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
Modified: hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java?rev=1559934&r1=1559933&r2=1559934&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (original)
+++ hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java Tue Jan 21 08:19:04 2014
@@ -1194,7 +1194,9 @@ public class KeyValue implements Cell, H
/**
* @return The byte array backing this KeyValue.
+ * @deprecated Since 0.98.0. Use Cell Interface instead. Do not presume single backing buffer.
*/
+ @Deprecated
public byte [] getBuffer() {
return this.bytes;
}