From 8a58a64b3950dc56cf2d5df4cc58f4cf088cec63 Mon Sep 17 00:00:00 2001 From: Ashish Singhi Date: Thu, 19 Mar 2015 22:04:25 +0530 Subject: [PATCH] HBASE-13288 Fix naming of parameter in Delete constructor --- .../java/org/apache/hadoop/hbase/client/Delete.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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 d947ef8..76cc5dd 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 { * * 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 { * * 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); } /** -- 1.9.5.msysgit.0