summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Iry <jamesiry@gmail.com>2013-11-18 07:59:35 -0800
committerJames Iry <jamesiry@gmail.com>2013-11-18 07:59:35 -0800
commit490b82b78e040259ffeb6ef2fe9690f92117922f (patch)
tree2658edff1ea8be7629bbcc35d636bf66f055c7a2
parent6e7aaf3602a86bd6786bbfebcd729e96b26e5864 (diff)
parent5b7e0d26db2847d1d3e78bce0108d9fc77f37c1c (diff)
downloadscala-490b82b78e040259ffeb6ef2fe9690f92117922f.tar.gz
scala-490b82b78e040259ffeb6ef2fe9690f92117922f.tar.bz2
scala-490b82b78e040259ffeb6ef2fe9690f92117922f.zip
Merge pull request #3144 from xuwei-k/foreachValues-scaladoc
fix IntMap#foreachValue and LongMap#foreachValue scaladoc
-rw-r--r--src/library/scala/collection/immutable/IntMap.scala2
-rw-r--r--src/library/scala/collection/immutable/LongMap.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/immutable/IntMap.scala b/src/library/scala/collection/immutable/IntMap.scala
index 07e2ddaae2..8991d0b75a 100644
--- a/src/library/scala/collection/immutable/IntMap.scala
+++ b/src/library/scala/collection/immutable/IntMap.scala
@@ -213,7 +213,7 @@ sealed abstract class IntMap[+T] extends AbstractMap[Int, T]
}
/**
- * Loop over the keys of the map. The same as `keys.foreach(f)`, but may
+ * Loop over the values of the map. The same as `values.foreach(f)`, but may
* be more efficient.
*
* @param f The loop body
diff --git a/src/library/scala/collection/immutable/LongMap.scala b/src/library/scala/collection/immutable/LongMap.scala
index 506546c5ba..868c0c0f47 100644
--- a/src/library/scala/collection/immutable/LongMap.scala
+++ b/src/library/scala/collection/immutable/LongMap.scala
@@ -205,7 +205,7 @@ extends AbstractMap[Long, T]
}
/**
- * Loop over the keys of the map. The same as keys.foreach(f), but may
+ * Loop over the values of the map. The same as values.foreach(f), but may
* be more efficient.
*
* @param f The loop body