This commit is contained in:
Seth Tisue 2017-05-01 15:16:00 +00:00 committed by GitHub
commit be07c81e5a
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,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
@ -35,7 +35,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`.
*