summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2015-07-16 13:17:37 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2015-07-16 13:17:37 +0200
commit6b3c518667b13796ff41a2ad86041d2cd67b6fba (patch)
tree4dfbcd470ef4bcd726d01790d5b107712c1856c3
parentfe05bc9951f9e89bac59230932e50ec850df6ce4 (diff)
parent30d4f0165f362ce5ee055a0254190e7fd5793f40 (diff)
downloadscala-6b3c518667b13796ff41a2ad86041d2cd67b6fba.tar.gz
scala-6b3c518667b13796ff41a2ad86041d2cd67b6fba.tar.bz2
scala-6b3c518667b13796ff41a2ad86041d2cd67b6fba.zip
Merge pull request #4615 from parambirs/patch-1
Update scaladoc for Any.scala#equals()
-rw-r--r--src/library-aux/scala/Any.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library-aux/scala/Any.scala b/src/library-aux/scala/Any.scala
index 1c25989c30..1be186d114 100644
--- a/src/library-aux/scala/Any.scala
+++ b/src/library-aux/scala/Any.scala
@@ -38,7 +38,7 @@ abstract class Any {
* - It is reflexive: for any instance `x` of type `Any`, `x.equals(x)` should return `true`.
* - It is symmetric: for any instances `x` and `y` of type `Any`, `x.equals(y)` should return `true` if and
* only if `y.equals(x)` returns `true`.
- * - It is transitive: for any instances `x`, `y`, and `z` of type `AnyRef` if `x.equals(y)` returns `true` and
+ * - It is transitive: for any instances `x`, `y`, and `z` of type `Any` if `x.equals(y)` returns `true` and
* `y.equals(z)` returns `true`, then `x.equals(z)` should return `true`.
*
* If you override this method, you should verify that your implementation remains an equivalence relation.