Skip to content

Commit 74a3c4f

Browse files
committed
silence a warning about a type being inferred to Any
1 parent 594fcaf commit 74a3c4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/scala/collection/parallel/ParSeqLike.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ extends ParIterableLike[T, CC, Repr, Sequential]
6262
* this sequence in the same order, `false` otherwise
6363
*/
6464
override def equals(that: Any): Boolean = that match {
65-
case that: ParSeq[_] => (that eq this.asInstanceOf[AnyRef]) || (that canEqual this) && (this sameElements that)
66-
case _ => false
65+
case that: ParSeq[Any] => (that eq this.asInstanceOf[AnyRef]) || (that canEqual this) && (this sameElements that)
66+
case _ => false
6767
}
6868

6969
def canEqual(other: Any): Boolean = true

0 commit comments

Comments
 (0)