summaryrefslogtreecommitdiff
path: root/src/library-aux
diff options
context:
space:
mode:
authorParambir Singh <parambirs@gmail.com>2015-07-09 12:43:08 +1000
committerParambir Singh <parambirs@gmail.com>2015-07-09 12:43:08 +1000
commit30d4f0165f362ce5ee055a0254190e7fd5793f40 (patch)
tree52f258896364071a5d6a83b4835dd0e2db0d5cff /src/library-aux
parent52fde52920d93325310e5544991feeea03e5c763 (diff)
downloadscala-30d4f0165f362ce5ee055a0254190e7fd5793f40.tar.gz
scala-30d4f0165f362ce5ee055a0254190e7fd5793f40.tar.bz2
scala-30d4f0165f362ce5ee055a0254190e7fd5793f40.zip
Update scaladoc for Any.scala#equals()
The transitive requirement for `Any` shouldn't mention `AnyRef`
Diffstat (limited to 'src/library-aux')
-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.