diff options
author | Paul Phillips <paulp@improving.org> | 2011-04-01 05:02:30 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-04-01 05:02:30 +0000 |
commit | 9b3852f26201aee7761637f89979dab2a71294a9 (patch) | |
tree | a26f7cd79256084b88153d1ba81e8c9d7c59dc59 /src/library/scala/Boolean.scala | |
parent | 305f49ce8f7358636bf81a7aca29d8ab42d98ed4 (diff) | |
download | scala-9b3852f26201aee7761637f89979dab2a71294a9.tar.gz scala-9b3852f26201aee7761637f89979dab2a71294a9.tar.bz2 scala-9b3852f26201aee7761637f89979dab2a71294a9.zip |
A less ad hoc infrastructure for generating Any...
A less ad hoc infrastructure for generating AnyVal sources. A few more
comments on said sources. No review.
Diffstat (limited to 'src/library/scala/Boolean.scala')
-rwxr-xr-x | src/library/scala/Boolean.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/library/scala/Boolean.scala b/src/library/scala/Boolean.scala index 220fc752c3..7719065ae7 100755 --- a/src/library/scala/Boolean.scala +++ b/src/library/scala/Boolean.scala @@ -32,6 +32,7 @@ final class Boolean extends AnyVal { } object Boolean extends AnyValCompanion { + /** Transform a value type into a boxed reference type. * * @param x the Boolean to be boxed @@ -43,7 +44,7 @@ object Boolean extends AnyValCompanion { * method is not typesafe: it accepts any Object, but will throw * an exception if the argument is not a java.lang.Boolean. * - * @param x the Boolean to be unboxed. + * @param x the java.lang.Boolean to be unboxed. * @throws ClassCastException if the argument is not a java.lang.Boolean * @return the Boolean resulting from calling booleanValue() on `x` */ @@ -52,5 +53,5 @@ object Boolean extends AnyValCompanion { /** The String representation of the scala.Boolean companion object. */ override def toString = "object scala.Boolean" +} -}
\ No newline at end of file |