Skip to content

Commit

Permalink
Donated some parens to Any.
Browse files Browse the repository at this point in the history
And a touch of documentation correctness. Closes SI-5077, no review.
  • Loading branch information
paulp committed Oct 15, 2011
1 parent 4d2499a commit f434a6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/library-aux/scala/Any.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ abstract class Any {
*
* @return the hash code value for this object.
*/
def hashCode: Int
def hashCode(): Int

/** Returns a string representation of the object.
*
* The default representation is platform dependent.
*
* @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[_]

Expand Down Expand Up @@ -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`.
*
Expand Down

0 comments on commit f434a6d

Please sign in to comment.