Skip to content

Commit 308b0ea

Browse files
authored
Merge pull request #219 from SethTisue/scala-2.13.9-nightly
prepare for Scala 2.13.9 upgrade
2 parents 0409c4f + 74a3c4f commit 308b0ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/main/scala/scala/collection/immutable/TrieIterator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ private[collection] abstract class TrieIterator[+T](elems: Array[Iterable[T]]) e
3939
def initSubIter: Iterator[T] = null // to traverse collision nodes
4040

4141
private[this] var depth = initDepth
42-
private[this] var arrayStack: Array[Array[Iterable[T @uV]]] = initArrayStack
42+
private[this] val arrayStack: Array[Array[Iterable[T @uV]]] = initArrayStack
4343
private[this] var posStack = initPosStack
4444
private[this] var arrayD: Array[Iterable[T @uV]] = initArrayD
4545
private[this] var posD = initPosD

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)