Skip to content

Commit 79ca330

Browse files
committed
Use Javadoc instead of HTML tag
1 parent fadb565 commit 79ca330

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/java/org/apache/commons/collections4/iterators/ExtendedIterator.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
public final class ExtendedIterator<T> implements IteratorOperations<T> {
3636

3737
/**
38-
* Create an ExtendedIterator returning the elements of <code>it</code>. If <code>it</code> is itself an ExtendedIterator, return that; otherwise wrap
39-
* <code>it</code>.
38+
* Create an ExtendedIterator returning the elements of {@code it}. If {@code it} is itself an ExtendedIterator, return that; otherwise wrap
39+
* {@code it}.
4040
*
4141
* @param <T> The type of object returned from the iterator.
4242
* @param it The iterator to wrap.
@@ -47,7 +47,7 @@ public static <T> ExtendedIterator<T> create(final Iterator<T> it) {
4747
}
4848

4949
/**
50-
* Creates an ExtendedIterator wrapped round a {@link Stream}. The extended iterator does not permit <code>.remove()</code>.
50+
* Creates an ExtendedIterator wrapped round a {@link Stream}. The extended iterator does not permit {@code .remove()}.
5151
* <p>
5252
* The stream should not be used directly. The effect of doing so is undefined.
5353
* </p>
@@ -61,7 +61,7 @@ public static <T> ExtendedIterator<T> create(final Stream<T> stream) {
6161
}
6262

6363
/**
64-
* Creates an ExtendedIterator wrapped round <code>it</code>, which does not permit <code>.remove()</code> even if <code>it</code> does.
64+
* Creates an ExtendedIterator wrapped round {@code it}, which does not permit {@code .remove()} even if {@code it} does.
6565
*
6666
* @param <T> The type of object returned from the iterator.
6767
* @param it The Iterator to wrap.
@@ -93,7 +93,7 @@ public static <T> ExtendedIterator<T> flatten(final Iterator<Iterator<T>> iterat
9393
}
9494

9595
/**
96-
* Set to <code>true</code> if this wrapping doesn't permit the use of {@link #remove()}, otherwise removal is delegated to the base iterator.
96+
* Set to {@code true} if this wrapping doesn't permit the use of {@link #remove()}, otherwise removal is delegated to the base iterator.
9797
*/
9898
private final boolean throwOnRemove;
9999

src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ HashEntry<K, V> newHashEntry(final K key, final int hash, final HashEntry<K, V>
878878
}
879879

880880
/**
881-
* This method must be called with exactly one of <code>value</code> and <code>function</code> non-null.
881+
* This method must be called with exactly one of {@code value} and {@code function} non-null.
882882
**/
883883
V put(final K key, final int hash, final V value, final Function<? super K, ? extends V> function, final boolean onlyIfAbsent) {
884884
lock();

0 commit comments

Comments
 (0)