diff options
author | michelou <michelou@epfl.ch> | 2009-12-15 16:19:47 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2009-12-15 16:19:47 +0000 |
commit | 6c7497dff45b3c373d9f061c031968b822740fa3 (patch) | |
tree | 11c9bb54183b4a21b2e416aa48195378fd36dcb9 /src | |
parent | 4681d842dc71ead023878b4c3b1677a51b5177d5 (diff) | |
download | scala-6c7497dff45b3c373d9f061c031968b822740fa3.tar.gz scala-6c7497dff45b3c373d9f061c031968b822740fa3.tar.bz2 scala-6c7497dff45b3c373d9f061c031968b822740fa3.zip |
corrected @usecase and imports in plugin example
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/MapLike.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/MapLike.scala b/src/library/scala/collection/MapLike.scala index 812d420331..55cea1a678 100644 --- a/src/library/scala/collection/MapLike.scala +++ b/src/library/scala/collection/MapLike.scala @@ -111,7 +111,7 @@ self => * @tparam B1 the result type of the default computation. * @return the value assocuated with `key` if it exists, * otherwise the result of the `default` computation. - * @usecase getOrElse(key: A, default: => B): B + * @usecase def getOrElse(key: A, default: => B): B */ def getOrElse[B1 >: B](key: A, default: => B1): B1 = get(key) match { case Some(v) => v |