You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2021/07/15 07:26:58 UTC
[accumulo] branch main updated: Fix typo 'putByteSquence' to
'putByteSequence' (#2201)
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new 5a44af4 Fix typo 'putByteSquence' to 'putByteSequence' (#2201)
5a44af4 is described below
commit 5a44af4cfed519e9fbd4fa036c6582b56bffd26f
Author: classickartik <73...@users.noreply.github.com>
AuthorDate: Thu Jul 15 12:56:42 2021 +0530
Fix typo 'putByteSquence' to 'putByteSequence' (#2201)
---
.../apache/accumulo/core/client/sample/RowColumnSampler.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/src/main/java/org/apache/accumulo/core/client/sample/RowColumnSampler.java b/core/src/main/java/org/apache/accumulo/core/client/sample/RowColumnSampler.java
index 3199dc1..7eedeb9 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/sample/RowColumnSampler.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/sample/RowColumnSampler.java
@@ -104,26 +104,26 @@ public class RowColumnSampler extends AbstractHashSampler {
}
}
- private void putByteSquence(ByteSequence data, DataOutput hasher) throws IOException {
+ private void putByteSequence(ByteSequence data, DataOutput hasher) throws IOException {
hasher.write(data.getBackingArray(), data.offset(), data.length());
}
@Override
protected void hash(DataOutput hasher, Key k) throws IOException {
if (row) {
- putByteSquence(k.getRowData(), hasher);
+ putByteSequence(k.getRowData(), hasher);
}
if (family) {
- putByteSquence(k.getColumnFamilyData(), hasher);
+ putByteSequence(k.getColumnFamilyData(), hasher);
}
if (qualifier) {
- putByteSquence(k.getColumnQualifierData(), hasher);
+ putByteSequence(k.getColumnQualifierData(), hasher);
}
if (visibility) {
- putByteSquence(k.getColumnVisibilityData(), hasher);
+ putByteSequence(k.getColumnVisibilityData(), hasher);
}
}
}