changeset 7535:a37adffb0ec1

Update JavaDoc to use BiConsumer.
author psandoz
date Mon, 25 Feb 2013 18:54:48 +0100
parents 05e2d3863cec
children 487a4fb5b187
files src/share/classes/java/util/Map.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/Map.java	Mon Feb 25 18:51:38 2013 +0100
+++ b/src/share/classes/java/util/Map.java	Mon Feb 25 18:54:48 2013 +0100
@@ -483,10 +483,10 @@
     // Defaultable methods
 
     /**
-     * Execute the specified {@code BiBlock} with the key and value of
+     * Execute the specified {@code BiConsumer} with the key and value of
      * each entry in this map.
      *
-     * @param block the {@code BiBlock} to which entries will be applied
+     * @param block the {@code BiConsumer} to which entries will be applied
      */
     default void forEach(BiConsumer<? super K, ? super V> block) {
         Objects.requireNonNull(block);