--- old/src/java.naming/share/classes/javax/naming/NamingEnumeration.java 2015-08-04 13:14:32.024900338 +0300 +++ new/src/java.naming/share/classes/javax/naming/NamingEnumeration.java 2015-08-04 13:14:31.672900331 +0300 @@ -85,7 +85,7 @@ * retrieving the next element to be caught and handled * by the application. *

- * Note that next() can also throw the runtime exception + * Note that {@code next()} can also throw the runtime exception * NoSuchElementException to indicate that the caller is * attempting to enumerate beyond the end of the enumeration. * This is different from a NamingException, which indicates @@ -128,16 +128,16 @@ * its methods will yield undefined results. * This method is intended for aborting an enumeration to free up resources. * If an enumeration proceeds to the end--that is, until - * hasMoreElements() or hasMore() returns false-- + * {@code hasMoreElements()} or {@code hasMore()} returns {@code false}-- * resources will be freed up automatically and there is no need to - * explicitly call close(). + * explicitly call {@code close()}. *

* This method indicates to the service provider that it is free * to release resources associated with the enumeration, and can - * notify servers to cancel any outstanding requests. The close() + * notify servers to cancel any outstanding requests. The {@code close()} * method is a hint to implementations for managing their resources. * Implementations are encouraged to use appropriate algorithms to - * manage their resources when client omits the close() calls. + * manage their resources when client omits the {@code close()} calls. * * @exception NamingException If a naming exception is encountered * while closing the enumeration.