diff options
author | Paul Phillips <paulp@improving.org> | 2009-09-11 17:08:43 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-09-11 17:08:43 +0000 |
commit | f9394a4d472887c4563e768467170a9b1677d5c1 (patch) | |
tree | 801fa248907e6c4b611eb35760b4ad641dfb05a6 /src/library/scala/Product.scala | |
parent | 514ff83e3983d81f8bf948abebbe5b9141d9690d (diff) | |
download | scala-f9394a4d472887c4563e768467170a9b1677d5c1.tar.gz scala-f9394a4d472887c4563e768467170a9b1677d5c1.tar.bz2 scala-f9394a4d472887c4563e768467170a9b1677d5c1.zip |
Made canEqual abstract in Product and only inse...
Made canEqual abstract in Product and only inserted into case classes if
no concrete implementation is inherited. Restored the disabled canEquals
usages in collections.
Diffstat (limited to 'src/library/scala/Product.scala')
-rw-r--r-- | src/library/scala/Product.scala | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala index a67fb94167..ce8f733771 100644 --- a/src/library/scala/Product.scala +++ b/src/library/scala/Product.scala @@ -50,11 +50,4 @@ trait Product extends Equals { * toString methods. */ def productPrefix = "" - - /** - * An equality helper method to assist in maintaining reflexivity - * in the face of subtyping. For more, see - * http://www.artima.com/lejava/articles/equality.html - */ - override def canEqual(other: Any): Boolean = true } |