From 96ba02e68415a8e34d8c45818e44523c7a0ff956 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Sun, 16 Oct 2011 09:12:54 -0400 Subject: [PATCH] complete the fix for SI-5077 by adding parens in AnyRef.scala as well --- src/library-aux/scala/AnyRef.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library-aux/scala/AnyRef.scala b/src/library-aux/scala/AnyRef.scala index ec4e10d8c..d7346c80a 100644 --- a/src/library-aux/scala/AnyRef.scala +++ b/src/library-aux/scala/AnyRef.scala @@ -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`. *