Fix <Generic type> not being displayed in javadoc

Thanks to Ruben Anders

This closes #16



git-svn-id: 
https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1795689 
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-collections/commit/a26fcf58
Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/a26fcf58
Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/a26fcf58

Branch: refs/heads/master
Commit: a26fcf58e4404186c8af82920894a8b98af377bf
Parents: 117d7e8
Author: Bruno P. Kinoshita <[email protected]>
Authored: Sun May 21 06:40:03 2017 +0000
Committer: Bruno P. Kinoshita <[email protected]>
Committed: Sun May 21 06:40:03 2017 +0000

----------------------------------------------------------------------
 src/main/java/org/apache/commons/collections4/MapIterator.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/a26fcf58/src/main/java/org/apache/commons/collections4/MapIterator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/collections4/MapIterator.java 
b/src/main/java/org/apache/commons/collections4/MapIterator.java
index f5647be..cfc4882 100644
--- a/src/main/java/org/apache/commons/collections4/MapIterator.java
+++ b/src/main/java/org/apache/commons/collections4/MapIterator.java
@@ -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

Reply via email to