hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1520143 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
Date Wed, 04 Sep 2013 21:03:46 GMT
Author: larsh
Date: Wed Sep  4 21:03:46 2013
New Revision: 1520143

URL: http://svn.apache.org/r1520143
Log:
HBASE-9432 Backport HBASE-8781 to 0.94 (Anoop)

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java?rev=1520143&r1=1520142&r2=1520143&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
Wed Sep  4 21:03:46 2013
@@ -66,7 +66,7 @@ implements WritableComparable<ImmutableB
    * @param ibw the value to set this ImmutableBytesWritable to.
    */
   public ImmutableBytesWritable(final ImmutableBytesWritable ibw) {
-    this(ibw.get(), 0, ibw.getSize());
+    this(ibw.get(), ibw.getOffset(), ibw.getSize());
   }
 
   /**



Mime
View raw message