This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new ac05d8fdb Fix Javadoc code elements
ac05d8fdb is described below

commit ac05d8fdbe62bbfe051e3b502e5f0fcfbba56c9b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Nov 13 07:27:16 2023 -0500

    Fix Javadoc code elements
---
 .../collections4/bloomfilter/ArrayCountingBloomFilter.java |  2 +-
 .../collections4/bloomfilter/CountingLongPredicate.java    | 14 +++++++-------
 .../apache/commons/collections4/bloomfilter/Hasher.java    |  2 +-
 .../collections4/collection/AbstractCollectionTest.java    |  2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java
 
b/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java
index b06f2c4d4..188d899ae 100644
--- 
a/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java
+++ 
b/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java
@@ -62,7 +62,7 @@ public final class ArrayCountingBloomFilter implements 
CountingBloomFilter {
     private final int[] cells;
 
     /**
-     * The state flag. This is a bitwise @{code OR} of the entire history of 
all updated
+     * The state flag. This is a bitwise {@code OR} of the entire history of 
all updated
      * cells. If negative then a negative cell or integer overflow has 
occurred on
      * one or more cells in the history of the filter and the state is invalid.
      *
diff --git 
a/src/main/java/org/apache/commons/collections4/bloomfilter/CountingLongPredicate.java
 
b/src/main/java/org/apache/commons/collections4/bloomfilter/CountingLongPredicate.java
index 83d4c1a8c..1f638d4b1 100644
--- 
a/src/main/java/org/apache/commons/collections4/bloomfilter/CountingLongPredicate.java
+++ 
b/src/main/java/org/apache/commons/collections4/bloomfilter/CountingLongPredicate.java
@@ -19,10 +19,10 @@ package org.apache.commons.collections4.bloomfilter;
 import java.util.function.LongPredicate;
 
 /**
- * A long predicate that applies the test func to each member of the @{code 
ary} in sequence for each call to @{code test()}.
- * if the @{code ary} is exhausted, the subsequent calls to @{code test} are 
executed with a zero value.
- * If the calls to @{code test} do not exhaust the @{code ary} the @{code 
forEachRemaining} method can be called to
- * execute the @code{text} with a zero value for each remaining @{code idx} 
value.
+ * A long predicate that applies the test func to each member of the {@code 
ary} in sequence for each call to {@code test()}.
+ * if the {@code ary} is exhausted, the subsequent calls to {@code test} are 
executed with a zero value.
+ * If the calls to {@code test} do not exhaust the {@code ary} the {@code 
forEachRemaining} method can be called to
+ * execute the @code{text} with a zero value for each remaining {@code idx} 
value.
  */
 class CountingLongPredicate implements LongPredicate {
     private int idx;
@@ -30,9 +30,9 @@ class CountingLongPredicate implements LongPredicate {
     private final LongBiPredicate func;
 
     /**
-     * Constructs an instance that will compare the elements in @{code ary} 
with the elements returned by @{code func}.
-     * function is called as @{code func.test( idxValue, otherValue )}. If 
there are more @{code otherValue} values than
-     * @{code idxValues} then @{code func} is called as @{code func.test( 0, 
otherValue )}.
+     * Constructs an instance that will compare the elements in {@code ary} 
with the elements returned by {@code func}.
+     * function is called as {@code func.test( idxValue, otherValue )}. If 
there are more {@code otherValue} values than
+     * {@code idxValues} then {@code func} is called as {@code func.test( 0, 
otherValue )}.
      * @param ary The array of long values to compare.
      * @param func The function to apply to the pairs of long values.
      */
diff --git 
a/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java 
b/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java
index 5b1b6a127..e2c30d5d2 100644
--- a/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java
+++ b/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java
@@ -27,7 +27,7 @@ public interface Hasher {
     /**
      * Creates an IndexProducer for this hasher based on the Shape.
      *
-     * <p>The @{code IndexProducer} will create indices within the range 
defined by the number of bits in
+     * <p>The {@code IndexProducer} will create indices within the range 
defined by the number of bits in
      * the shape. The total number of indices will respect the number of hash 
functions per item
      * defined by the shape. However the count of indices may not be a 
multiple of the number of
      * hash functions if the implementation has removed duplicates.</p>
diff --git 
a/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java
 
b/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java
index 1191c3226..39786659e 100644
--- 
a/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java
+++ 
b/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java
@@ -53,7 +53,7 @@ import org.junit.jupiter.api.Test;
  * <p>
  * You should create a concrete subclass of this class to test any custom
  * {@link Collection} implementation.  At minimum, you'll have to
- * implement the @{@link #makeObject()}, {@link #makeConfirmedCollection()}
+ * implement the {@link #makeObject()}, {@link #makeConfirmedCollection()}
  * and {@link #makeConfirmedFullCollection()} methods.
  * You might want to override some of the additional public methods as well:
  * <p>

Reply via email to