summaryrefslogtreecommitdiff
path: root/src/library-aux
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-10-15 22:00:39 +0000
committerPaul Phillips <paulp@improving.org>2011-10-15 22:00:39 +0000
commitf434a6d49e6666ac40141dd2288e4a8fcb57890d (patch)
tree5cda41df5da293d7a099de0f145c754673ee03a0 /src/library-aux
parent4d2499a835df386324290140d14e346db58b69cf (diff)
downloadscala-f434a6d49e6666ac40141dd2288e4a8fcb57890d.tar.gz
scala-f434a6d49e6666ac40141dd2288e4a8fcb57890d.tar.bz2
scala-f434a6d49e6666ac40141dd2288e4a8fcb57890d.zip
Donated some parens to Any.
And a touch of documentation correctness. Closes SI-5077, no review.
Diffstat (limited to 'src/library-aux')
-rw-r--r--src/library-aux/scala/Any.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library-aux/scala/Any.scala b/src/library-aux/scala/Any.scala
index 490c546bbf..4611271780 100644
--- a/src/library-aux/scala/Any.scala
+++ b/src/library-aux/scala/Any.scala
@@ -44,7 +44,7 @@ abstract class Any {
*
* @return the hash code value for this object.
*/
- def hashCode: Int
+ def hashCode(): Int
/** Returns a string representation of the object.
*
@@ -52,11 +52,11 @@ abstract class Any {
*
* @return a string representation of the object.
*/
- def toString: String
+ def toString(): String
/** Returns the runtime class representation of the object.
*
- * @return a class object corresponding to the static type of the receiver
+ * @return a class object corresponding to the runtime type of the receiver.
*/
def getClass(): Class[_]
@@ -84,7 +84,7 @@ abstract class Any {
*
* @return a hash value consistent with ==
*/
- final def ## : Int = sys.error("##")
+ final def ##(): Int = sys.error("##")
/** Test whether the dynamic type of the receiver object is `T0`.
*