Skip to content

Commit 8f2ba61

Browse files
committed
simplify signature
1 parent af7d5a3 commit 8f2ba61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/mutable/WrappedArrayBuilder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private [mutable] object WrappedArrayBuilder {
129129
case java.lang.Boolean.TYPE => new WrappedArray.ofBoolean(Array.emptyBooleanArray)
130130
case java.lang.Void.TYPE => new WrappedArray.ofUnit(Array.emptyUnitArray)
131131
}
132-
else new WrappedArray.ofRef(Array.empty.asInstanceOf[Array[_ <: AnyRef]])
132+
else new WrappedArray.ofRef(Array.empty[AnyRef])
133133
}
134134
}
135135
}

0 commit comments

Comments
 (0)