--- old/src/java.base/share/classes/java/util/Enumeration.java 2020-03-13 15:39:02.000000000 +0000 +++ new/src/java.base/share/classes/java/util/Enumeration.java 2020-03-13 15:39:01.000000000 +0000 @@ -88,7 +88,7 @@ * @apiNote * This method is intended to help adapt code that produces * {@code Enumeration} instances to code that consumes {@code Iterator} - * instances. For example, the {@link java.util.jar.JarFile#entries + * instances. For example, the {@link java.util.jar.JarFile#entries() * JarFile.entries()} method returns an {@code Enumeration}. * This can be turned into an {@code Iterator}, and then the * {@code forEachRemaining()} method can be used: @@ -98,7 +98,7 @@ * jarFile.entries().asIterator().forEachRemaining(entry -> { ... }); * } * - * (Note that there is also a {@link java.util.jar.JarFile#stream + * (Note that there is also a {@link java.util.jar.JarFile#stream() * JarFile.stream()} method that returns a {@code Stream} of entries, * which may be more convenient in some cases.) *