HBASE-13288 Fix naming of parameter in Delete constructor Signed-off-by: Chia-Ping Tsai <chia7...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/87f2bb57 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/87f2bb57 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/87f2bb57 Branch: refs/heads/hbase-12439 Commit: 87f2bb5796bd2a05f2c9db559ddd13a33fc80e36 Parents: 49cba2c Author: Ashish Singhi <ashish.sin...@huawei.com> Authored: Thu Mar 19 22:04:25 2015 +0530 Committer: Chia-Ping Tsai <chia7...@gmail.com> Committed: Fri Apr 21 11:09:44 2017 +0800 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/client/Delete.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/87f2bb57/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java ---------------------------------------------------------------------- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java index 278ea58..0b3769d 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java @@ -108,12 +108,12 @@ public class Delete extends Mutation implements Comparable<Row> { * * This timestamp is ONLY used for a delete row operation. If specifying * families or columns, you must specify each timestamp individually. - * @param rowArray We make a local copy of this passed in row. + * @param row We make a local copy of this passed in row. * @param rowOffset * @param rowLength */ - public Delete(final byte [] rowArray, final int rowOffset, final int rowLength) { - this(rowArray, rowOffset, rowLength, HConstants.LATEST_TIMESTAMP); + public Delete(final byte[] row, final int rowOffset, final int rowLength) { + this(row, rowOffset, rowLength, HConstants.LATEST_TIMESTAMP); } /** @@ -125,15 +125,15 @@ public class Delete extends Mutation implements Comparable<Row> { * * This timestamp is ONLY used for a delete row operation. If specifying * families or columns, you must specify each timestamp individually. - * @param rowArray We make a local copy of this passed in row. + * @param row We make a local copy of this passed in row. * @param rowOffset * @param rowLength - * @param ts maximum version timestamp (only for delete row) + * @param timestamp maximum version timestamp (only for delete row) */ - public Delete(final byte [] rowArray, final int rowOffset, final int rowLength, long ts) { - checkRow(rowArray, rowOffset, rowLength); - this.row = Bytes.copy(rowArray, rowOffset, rowLength); - setTimestamp(ts); + public Delete(final byte[] row, final int rowOffset, final int rowLength, long timestamp) { + checkRow(row, rowOffset, rowLength); + this.row = Bytes.copy(row, rowOffset, rowLength); + setTimestamp(timestamp); } /**