changeset 45141:99a3dd59f831

8180137: fix broken link in java.lang.Iterable Reviewed-by: rriggs
author smarks
date Fri, 12 May 2017 14:52:26 -0700
parents 2901d2f1a6aa
children be2c212f16dd
files jdk/src/java.base/share/classes/java/lang/Iterable.java
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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
- * <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> {
     /**