[ 
https://issues.apache.org/jira/browse/HBASE-15285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151186#comment-15151186
 ] 

Jonathan Hsieh commented on HBASE-15285:
----------------------------------------

To avoid the cast and keep the same api, would it make sense to do this instead?

{code}
public Append setReturnResults(boolean returnResults) {
  setReturnResults(returnResults);
  return this;
}

...

public Increment setReturnResults(boolean returnResults) {
  setReturnResults(returnResults);
  return this;
}

{code}

> Forward-port respect for isReturnResult from HBASE-15095
> --------------------------------------------------------
>
>                 Key: HBASE-15285
>                 URL: https://issues.apache.org/jira/browse/HBASE-15285
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 1.2.0
>            Reporter: stack
>            Assignee: stack
>             Fix For: 2.0.0, 1.2.0, 1.3.0
>
>         Attachments: 15095.patch
>
>
> This issue is about forward-porting the bug fix done in HBASE-15095 so we 
> respect the isReturnResult properly in append and increment.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to