complete the fix for SI-5077 by adding parens in AnyRef.scala as well
This commit is contained in:
parent
f6f68b170c
commit
96ba02e684
|
|
@ -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`.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue