--- old/src/java.base/share/classes/java/util/Enumeration.java 2015-08-07 21:14:59.806584885 +0400 +++ new/src/java.base/share/classes/java/util/Enumeration.java 2015-08-07 21:14:59.602584894 +0400 @@ -28,10 +28,10 @@ /** * An object that implements the Enumeration interface generates a * series of elements, one at a time. Successive calls to the - * nextElement method return successive elements of the + * {@code nextElement} method return successive elements of the * series. *

- * For example, to print all elements of a Vector<E> v: + * For example, to print all elements of a {@code Vector} v: *

  *   for (Enumeration<E> e = v.elements(); e.hasMoreElements();)
  *       System.out.println(e.nextElement());
@@ -39,7 +39,7 @@ * Methods are provided to enumerate through the elements of a * vector, the keys of a hashtable, and the values in a hashtable. * Enumerations are also used to specify the input streams to a - * SequenceInputStream. + * {@code SequenceInputStream}. * * @apiNote * The functionality of this interface is duplicated by the {@link Iterator} @@ -65,9 +65,9 @@ /** * Tests if this enumeration contains more elements. * - * @return true if and only if this enumeration object + * @return {@code true} if and only if this enumeration object * contains at least one more element to provide; - * false otherwise. + * {@code false} otherwise. */ boolean hasMoreElements();