Skip to content

Commit

Permalink
Revert one more Object->Result
Browse files Browse the repository at this point in the history
  • Loading branch information
mgarolera committed Oct 29, 2014
1 parent 936e299 commit fd12ca4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public Object[] batch(List<? extends Row> actions) throws IOException {
* Implementation of
* {@link org.apache.hadoop.hbase.client.HTable#batchCallback(List, Batch.Callback)}
*/
public <R> Result[] batchCallback(
public <R> Object[] batchCallback(
List<? extends Row> actions,
Batch.Callback<R> callback) throws IOException, InterruptedException {
Result[] results = new Result[actions.size()];
Expand All @@ -472,7 +472,7 @@ public <R> Result[] batchCallback(
* {@link org.apache.hadoop.hbase.client.HTable#batchCallback(List, Object[], Batch.Callback)}
*/
public <R> void batchCallback(List<? extends Row> actions,
Object[] results, Batch.Callback<R> callback) throws IOException, InterruptedException {
Object[] results, Batch.Callback<R> callback) throws IOException, InterruptedException {
Preconditions.checkArgument(results.length == actions.size(),
"Result array must be the same length as actions.");
int index = 0;
Expand Down

0 comments on commit fd12ca4

Please sign in to comment.