Repository: commons-collections Updated Branches: refs/heads/master 775886ba0 -> c232564c6
Make Java 11 Javadoc happy by replacing <tt> tags with standard Javadoc <code> tags. Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/c232564c Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/c232564c Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/c232564c Branch: refs/heads/master Commit: c232564c61976a68b4077f12c7c7b3f8ee7c823b Parents: 775886b Author: Gary Gregory <garydgreg...@gmail.com> Authored: Fri Jun 15 16:31:04 2018 -0600 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Fri Jun 15 16:31:04 2018 -0600 ---------------------------------------------------------------------- src/main/java/org/apache/commons/collections4/Get.java | 10 +++++----- .../java/org/apache/commons/collections4/MultiSet.java | 4 ++-- src/main/java/org/apache/commons/collections4/Put.java | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-collections/blob/c232564c/src/main/java/org/apache/commons/collections4/Get.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/Get.java b/src/main/java/org/apache/commons/collections4/Get.java index cc09ef4..61663a9 100644 --- a/src/main/java/org/apache/commons/collections4/Get.java +++ b/src/main/java/org/apache/commons/collections4/Get.java @@ -32,7 +32,7 @@ public interface Get<K, V> { /** * @param key key whose presence in this map is to be tested - * @return <tt>true</tt> if this map contains a mapping for the specified + * @return <code>true</code> if this map contains a mapping for the specified * key * @see java.util.Map#containsKey(Object) */ @@ -40,7 +40,7 @@ public interface Get<K, V> { /** * @param value value whose presence in this map is to be tested - * @return <tt>true</tt> if this map maps one or more keys to the + * @return <code>true</code> if this map maps one or more keys to the * specified value * @see java.util.Map#containsValue(Object) */ @@ -62,14 +62,14 @@ public interface Get<K, V> { /** * @param key key whose mapping is to be removed from the map - * @return the previous value associated with <tt>key</tt>, or - * <tt>null</tt> if there was no mapping for <tt>key</tt>. + * @return the previous value associated with <code>key</code>, or + * <code>null</tt> if there was no mapping for <tt>key</code>. * @see java.util.Map#remove(Object) */ V remove(Object key); /** - * @return <tt>true</tt> if this map contains no key-value mappings + * @return <code>true</code> if this map contains no key-value mappings * @see java.util.Map#isEmpty() */ boolean isEmpty(); http://git-wip-us.apache.org/repos/asf/commons-collections/blob/c232564c/src/main/java/org/apache/commons/collections4/MultiSet.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/MultiSet.java b/src/main/java/org/apache/commons/collections4/MultiSet.java index 982768f..835eb63 100644 --- a/src/main/java/org/apache/commons/collections4/MultiSet.java +++ b/src/main/java/org/apache/commons/collections4/MultiSet.java @@ -240,7 +240,7 @@ public interface MultiSet<E> extends Collection<E> { * and the two entries represent the same element with the same * number of occurrences. * <p> - * More formally, two entries <tt>e1</tt> and <tt>e2</tt> represent + * More formally, two entries <code>e1</tt> and <tt>e2</code> represent * the same mapping if * <pre> * (e1.getElement()==null ? e2.getElement()==null @@ -257,7 +257,7 @@ public interface MultiSet<E> extends Collection<E> { /** * Returns the hash code value for this multiset entry. * <p> - * The hash code of a multiset entry <tt>e</tt> is defined to be: + * The hash code of a multiset entry <code>e</code> is defined to be: * <pre> * (e==null ? 0 : e.hashCode()) ^ noOccurances) * </pre> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/c232564c/src/main/java/org/apache/commons/collections4/Put.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/Put.java b/src/main/java/org/apache/commons/collections4/Put.java index 8d86832..ed0ec17 100644 --- a/src/main/java/org/apache/commons/collections4/Put.java +++ b/src/main/java/org/apache/commons/collections4/Put.java @@ -46,11 +46,11 @@ public interface Put<K, V> { * * @param key key with which the specified value is to be associated * @param value value to be associated with the specified key - * @return the previous value associated with <tt>key</tt>, or - * <tt>null</tt> if there was no mapping for <tt>key</tt>. - * (A <tt>null</tt> return can also indicate that the map - * previously associated <tt>null</tt> with <tt>key</tt>, - * if the implementation supports <tt>null</tt> values.) + * @return the previous value associated with <code>key</code>, or + * <code>null</tt> if there was no mapping for <tt>key</code>. + * (A <code>null</code> return can also indicate that the map + * previously associated <code>null</tt> with <tt>key</code>, + * if the implementation supports <code>null</code> values.) * @see Map#put(Object, Object) */ Object put(K key, V value);