HBASE-17252 Wrong arguments for ValueAndTagRewriteCell in CellUtil
This commit is contained in:
parent
94302a3d26
commit
1fad920321
|
@ -974,7 +974,7 @@ public final class CellUtil {
|
||||||
@Override
|
@Override
|
||||||
public Cell deepClone() {
|
public Cell deepClone() {
|
||||||
Cell clonedBaseCell = ((ExtendedCell) this.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() {
|
public Cell deepClone() {
|
||||||
Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone();
|
Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone();
|
||||||
if (clonedBaseCell instanceof ByteBufferCell) {
|
if (clonedBaseCell instanceof ByteBufferCell) {
|
||||||
return new ValueAndTagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.tags,
|
return new ValueAndTagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.value,
|
||||||
this.value);
|
this.tags);
|
||||||
}
|
}
|
||||||
return new ValueAndTagRewriteCell(clonedBaseCell, this.tags, this.value);
|
return new ValueAndTagRewriteCell(clonedBaseCell, this.value, this.tags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue