You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2017/05/21 06:40:03 UTC
svn commit: r1795689 -
/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapIterator.java
Author: kinow
Date: Sun May 21 06:40:03 2017
New Revision: 1795689
URL: http://svn.apache.org/viewvc?rev=1795689&view=rev
Log:
Fix <Generic type> not being displayed in javadoc
Thanks to Ruben Anders
This closes #16
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapIterator.java
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapIterator.java?rev=1795689&r1=1795688&r2=1795689&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapIterator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapIterator.java Sun May 21 06:40:03 2017
@@ -31,14 +31,14 @@ import java.util.Iterator;
* In use, this iterator iterates through the keys in the map. After each call
* to <code>next()</code>, the <code>getValue()</code> method provides direct
* access to the value. The value can also be set using <code>setValue()</code>.
- * <pre>
+ * <pre>{@code
* MapIterator<String,Integer> it = map.mapIterator();
* while (it.hasNext()) {
* String key = it.next();
* Integer value = it.getValue();
* it.setValue(value + 1);
* }
- * </pre>
+ * }</pre>
*
* @param <K> the type of the keys in the map
* @param <V> the type of the values in the map