Skip to content

Commit 42a8a26

Browse files
committed
Fix a few typos in BloomFilter javadocs
1 parent e1f3890 commit 42a8a26

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main/java/org/apache/datasketches/filters/bloomfilter/BloomFilter.java

+10-10
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ private void updateInternal(final long h0, final long h1) {
381381

382382
/**
383383
* Updates the filter with the provided long and
384-
* returns the result from quering that value prior to the update.
384+
* returns the result from querying that value prior to the update.
385385
* @param item an item with which to update the filter
386386
* @return The query result prior to applying the update
387387
*/
@@ -393,7 +393,7 @@ public boolean queryAndUpdate(final long item) {
393393

394394
/**
395395
* Updates the filter with the provided double and
396-
* returns the result from quering that value prior to the update.
396+
* returns the result from querying that value prior to the update.
397397
* The double is canonicalized (NaN and +/- infinity) in the call.
398398
* @param item an item with which to update the filter
399399
* @return The query result prior to applying the update
@@ -408,7 +408,7 @@ public boolean queryAndUpdate(final double item) {
408408

409409
/**
410410
* Updates the filter with the provided String and
411-
* returns the result from quering that value prior to the update.
411+
* returns the result from querying that value prior to the update.
412412
* The string is converted to a byte array using UTF8 encoding.
413413
*
414414
* <p>Note: this will not produce the same output hash values as the {@link #queryAndUpdate(char[])}
@@ -428,7 +428,7 @@ public boolean queryAndUpdate(final String item) {
428428

429429
/**
430430
* Updates the filter with the provided byte[] and
431-
* returns the result from quering that array prior to the update.
431+
* returns the result from querying that array prior to the update.
432432
* @param data an array with which to update the filter
433433
* @return The query result prior to applying the update, or false if data is null
434434
*/
@@ -440,7 +440,7 @@ public boolean queryAndUpdate(final byte[] data) {
440440

441441
/**
442442
* Updates the filter with the provided char[] and
443-
* returns the result from quering that array prior to the update.
443+
* returns the result from querying that array prior to the update.
444444
* @param data an array with which to update the filter
445445
* @return The query result prior to applying the update, or false if data is null
446446
*/
@@ -453,7 +453,7 @@ public boolean queryAndUpdate(final char[] data) {
453453

454454
/**
455455
* Updates the filter with the provided short[] and
456-
* returns the result from quering that array prior to the update.
456+
* returns the result from querying that array prior to the update.
457457
* @param data an array with which to update the filter
458458
* @return The query result prior to applying the update, or false if data is null
459459
*/
@@ -466,7 +466,7 @@ public boolean queryAndUpdate(final short[] data) {
466466

467467
/**
468468
* Updates the filter with the provided int[] and
469-
* returns the result from quering that array prior to the update.
469+
* returns the result from querying that array prior to the update.
470470
* @param data an array with which to update the filter
471471
* @return The query result prior to applying the update, or false if data is null
472472
*/
@@ -479,7 +479,7 @@ public boolean queryAndUpdate(final int[] data) {
479479

480480
/**
481481
* Updates the filter with the provided long[] and
482-
* returns the result from quering that array prior to the update.
482+
* returns the result from querying that array prior to the update.
483483
* @param data an array with which to update the filter
484484
* @return The query result prior to applying the update, or false if data is null
485485
*/
@@ -492,7 +492,7 @@ public boolean queryAndUpdate(final long[] data) {
492492

493493
/**
494494
* Updates the filter with the provided Memory and
495-
* returns the result from quering that Memory prior to the update.
495+
* returns the result from querying that Memory prior to the update.
496496
* @param mem an array with which to update the filter
497497
* @return The query result prior to applying the update, or false if mem is null
498498
*/
@@ -762,7 +762,7 @@ public static long getSerializedSize(final long numBits) {
762762
* 3 ||---------------------------------NumBitsSet------------------------------------|
763763
* </pre>
764764
*
765-
* The raw BitArray bits, if non-empty start at byte 24.
765+
* The raw BitArray bits, if non-empty, start at byte 32.
766766
*/
767767

768768
/**

0 commit comments

Comments
 (0)