summaryrefslogtreecommitdiff
path: root/src/library/scala/Product.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-09-11 17:08:43 +0000
committerPaul Phillips <paulp@improving.org>2009-09-11 17:08:43 +0000
commitf9394a4d472887c4563e768467170a9b1677d5c1 (patch)
tree801fa248907e6c4b611eb35760b4ad641dfb05a6 /src/library/scala/Product.scala
parent514ff83e3983d81f8bf948abebbe5b9141d9690d (diff)
downloadscala-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.scala7
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
}