From 48d2c7814465ec6ce4139e49269947c6d38f023b Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Wed, 20 Jul 2011 22:46:37 +0000 Subject: Fixed doc comments of the keys and values metho... Fixed doc comments of the keys and values methods in MapLike. No review --- src/library/scala/collection/MapLike.scala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/library/scala/collection/MapLike.scala b/src/library/scala/collection/MapLike.scala index 4850898ce8..f8dd9c1c79 100644 --- a/src/library/scala/collection/MapLike.scala +++ b/src/library/scala/collection/MapLike.scala @@ -178,15 +178,16 @@ self => def next() = iter.next._1 } - /** Creates an iterator for all keys. + /** Collects all keys of this map in an iterable collection. * - * @return an iterator over all keys. + * @return the keys of this map as an iterable. */ @migration(2, 8, "As of 2.8, keys returns Iterable[A] rather than Iterator[A].") def keys: Iterable[A] = keySet /** Collects all values of this map in an iterable collection. - * @return the values of this map as an iterable. + * + * @return the values of this map as an iterable. */ @migration(2, 8, "As of 2.8, values returns Iterable[B] rather than Iterator[B].") def values: Iterable[B] = new DefaultValuesIterable -- cgit v1.2.3