diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-05-15 09:17:13 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-05-15 09:17:13 -0700 |
commit | 8a3ed4cc955dd85f37cc148265e920435b009a29 (patch) | |
tree | ea5603b8c5f765822dba500beefc54acf91c9786 /src/library | |
parent | 8a90ca702754b776ae7de120691974332ed77618 (diff) | |
parent | 0570a9357b7a73842220ff6b465cb7cbd3ae7ea8 (diff) | |
download | scala-8a3ed4cc955dd85f37cc148265e920435b009a29.tar.gz scala-8a3ed4cc955dd85f37cc148265e920435b009a29.tar.bz2 scala-8a3ed4cc955dd85f37cc148265e920435b009a29.zip |
Merge pull request #554 from srp/master
Enumeration#maxId: fix documentation to reflect reality
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/Enumeration.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/Enumeration.scala b/src/library/scala/Enumeration.scala index ea0d20957d..2b658ee4f7 100644 --- a/src/library/scala/Enumeration.scala +++ b/src/library/scala/Enumeration.scala @@ -113,8 +113,8 @@ abstract class Enumeration (initial: Int) extends Serializable { * enumeration, but no higher than 0. */ private var bottomId = if(initial < 0) initial else 0 - /** The highest integer amongst those used to identify values in this - * enumeration. */ + /** The one higher than the highest integer amongst those used to identify + * values in this enumeration. */ final def maxId = topId /** The value of this enumeration with given id `x` |