# HG changeset patch # User smarks # Date 1494625946 25200 # Node ID 99a3dd59f8317909eb1f7d91f38eea757f0251b4 # Parent 2901d2f1a6aa40ad6ddc3b6d1bb18f168a6e7f8a 8180137: fix broken link in java.lang.Iterable Reviewed-by: rriggs diff -r 2901d2f1a6aa -r 99a3dd59f831 jdk/src/java.base/share/classes/java/lang/Iterable.java --- a/jdk/src/java.base/share/classes/java/lang/Iterable.java Fri May 12 13:43:06 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/lang/Iterable.java Fri May 12 14:52:26 2017 -0700 @@ -31,16 +31,13 @@ import java.util.function.Consumer; /** - * Implementing this interface allows an object to be the target of - * the "for-each loop" statement. See - * - * For-each Loop - * + * Implementing this interface allows an object to be the target of the enhanced + * {@code for} statement (sometimes called the "for-each loop" statement). * * @param the type of elements returned by the iterator * * @since 1.5 - * @jls 14.14.2 The enhanced for statement + * @jls 14.14.2 The enhanced {@code for} statement */ public interface Iterable { /**