We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce51a61 commit ee49343Copy full SHA for ee49343
library/src/scala/collection/mutable/WrappedArray.scala
@@ -130,7 +130,7 @@ object WrappedArray {
130
def update(index: Int, elem: T) { array(index) = elem }
131
override def hashCode = MurmurHash3.wrappedArrayHash(array)
132
override def equals(that: Any) = that match {
133
- case that: ofRef[_] => that.array.canEqual(array) && array.sameElements(that.array)
+ case that: ofRef[_] => array.sameElements(that.array)
134
case _ => super.equals(that)
135
}
136
0 commit comments