Mercurial > hg > openjdk > jdk9 > jdk
changeset 17142:661765f8b131
8180137: fix broken link in java.lang.Iterable
Reviewed-by: rriggs
author | smarks |
---|---|
date | Fri, 12 May 2017 14:52:26 -0700 |
parents | c5b0465f06d0 |
children | ef9954f6896b |
files | src/java.base/share/classes/java/lang/Iterable.java |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/Iterable.java Fri May 12 13:43:06 2017 -0700 +++ b/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 - * <strong> - * <a href="{@docRoot}/../technotes/guides/language/foreach.html">For-each Loop</a> - * </strong> + * Implementing this interface allows an object to be the target of the enhanced + * {@code for} statement (sometimes called the "for-each loop" statement). * * @param <T> 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<T> { /**