Apache9 commented on code in PR #5974:
URL: https://github.com/apache/hbase/pull/5974#discussion_r1634825843


##########
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java:
##########
@@ -218,9 +218,10 @@ public Message messageFromObject() {
   }
 
   @Override
-  public ProtobufMessageHandler getObjectFromMessage(byte[] message) throws 
IOException {
+  public ProtobufMessageHandler getObjectFromMessage(CodedInputStream cis) 
throws IOException {
     Cell.Builder builder = Cell.newBuilder();
-    ProtobufUtil.mergeFrom(builder, message);
+    builder.mergeFrom(cis);

Review Comment:
   It is OK to just keep it as is, just asking...



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to