complete the fix for SI-5077 by adding parens in AnyRef.scala as well

This commit is contained in:
Seth Tisue 2011-10-16 09:12:54 -04:00
parent f6f68b170c
commit 96ba02e684
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ trait AnyRef extends Any {
*
* @return the hash code value for this object.
*/
def hashCode: Int = sys.error("hashCode")
def hashCode(): Int = sys.error("hashCode")
/** Creates a String representation of this object. The default
* representation is platform dependent. On the java platform it
@ -33,7 +33,7 @@ trait AnyRef extends Any {
*
* @return a String representation of the object.
*/
def toString: String = sys.error("toString")
def toString(): String = sys.error("toString")
/** Executes the code in `body` with an exclusive lock on `this`.
*