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 caa9dad99 Use Javadoc @code caa9dad99 is described below commit caa9dad9965a2d4edf86ee7c1cadceb1eeb89128 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Jul 29 07:59:59 2024 -0400 Use Javadoc @code --- src/main/java/org/apache/commons/collections4/ListUtils.java | 4 ++-- src/main/java/org/apache/commons/collections4/map/CompositeMap.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/ListUtils.java b/src/main/java/org/apache/commons/collections4/ListUtils.java index 74db0b5d6..04744234a 100644 --- a/src/main/java/org/apache/commons/collections4/ListUtils.java +++ b/src/main/java/org/apache/commons/collections4/ListUtils.java @@ -295,8 +295,8 @@ public class ListUtils { * {@code true} if and only if both * lists have the same size, and all corresponding pairs of elements in * the two lists are <em>equal</em>. (Two elements {@code e1} and - * {@code e2} are <em>equal</em> if <code>(e1==null ? e2==null : - * e1.equals(e2))</code>.) In other words, two lists are defined to be + * {@code e2} are <em>equal</em> if {@code (e1==null ? e2==null : + * e1.equals(e2))}.) In other words, two lists are defined to be * equal if they contain the same elements in the same order. This * definition ensures that the equals method works properly across * different implementations of the {@code List} interface. diff --git a/src/main/java/org/apache/commons/collections4/map/CompositeMap.java b/src/main/java/org/apache/commons/collections4/map/CompositeMap.java index d385e7664..5ad29f248 100644 --- a/src/main/java/org/apache/commons/collections4/map/CompositeMap.java +++ b/src/main/java/org/apache/commons/collections4/map/CompositeMap.java @@ -321,8 +321,8 @@ public class CompositeMap<K, V> extends AbstractIterableMap<K, V> implements Ser * operation may be used to distinguish these two cases. * * <p>More formally, if this map contains a mapping from a key - * {@code k} to a value {@code v} such that <code>(key==null ? k==null : - * key.equals(k))</code>, then this method returns {@code v}; otherwise + * {@code k} to a value {@code v} such that {@code (key==null ? k==null : + * key.equals(k))}, then this method returns {@code v}; otherwise * it returns {@code null}. (There can be at most one such mapping.) * * @param key key whose associated value is to be returned.