apurtell commented on a change in pull request #278: HBASE-22510 Address 
findbugs/spotbugs complaints (branch-1)
URL: https://github.com/apache/hbase/pull/278#discussion_r289220229
 
 

 ##########
 File path: 
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/EncodedDataBlock.java
 ##########
 @@ -255,7 +255,7 @@ private ByteBuffer getUncompressedBuffer() {
       }
       BufferGrabbingByteArrayOutputStream stream = new 
BufferGrabbingByteArrayOutputStream();
       baos.writeTo(stream);
-      this.dataBlockEncoder.endBlockEncoding(encodingCtx, out, 
stream.getOurBytes());
+      this.dataBlockEncoder.endBlockEncoding(encodingCtx, out, 
stream.toByteArray());
 
 Review comment:
   Changes in this file keep the code in sync with changes proposed on #277

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to