Repository: hbase Updated Branches: refs/heads/master 94302a3d2 -> 1fad92032
HBASE-17252 Wrong arguments for ValueAndTagRewriteCell in CellUtil Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1fad9203 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1fad9203 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1fad9203 Branch: refs/heads/master Commit: 1fad920321f32686f39021bdbc5f64abcd35cb58 Parents: 94302a3 Author: tedyu <yuzhih...@gmail.com> Authored: Mon Dec 5 07:41:24 2016 -0800 Committer: tedyu <yuzhih...@gmail.com> Committed: Mon Dec 5 07:41:24 2016 -0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/CellUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/1fad9203/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java ---------------------------------------------------------------------- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java index 2a48bd1..7a9fe66 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java @@ -974,7 +974,7 @@ public final class CellUtil { @Override public Cell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); - return new ValueAndTagRewriteCell(clonedBaseCell, this.tags, this.value); + return new ValueAndTagRewriteCell(clonedBaseCell, this.value, this.tags); } } @@ -1050,10 +1050,10 @@ public final class CellUtil { public Cell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); if (clonedBaseCell instanceof ByteBufferCell) { - return new ValueAndTagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.tags, - this.value); + return new ValueAndTagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.value, + this.tags); } - return new ValueAndTagRewriteCell(clonedBaseCell, this.tags, this.value); + return new ValueAndTagRewriteCell(clonedBaseCell, this.value, this.tags); } }