File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ object CollectionStrawMan4 {
218
218
def fromIterable [B ](coll : Iterable [B ]): ListBuffer [B ] = coll match {
219
219
case pd @ View .Partitioned (partition : View .Partition [B ]) =>
220
220
partition.distribute(new ListBuffer [B ]())
221
- pd.forced.get. asInstanceOf [ ListBuffer [ B ]]
221
+ new ListBuffer [ B ] ++= pd.forced.get
222
222
case _ =>
223
223
new ListBuffer [B ] ++= coll
224
224
}
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ object CollectionStrawMan4 {
217
217
def fromIterable [B ](coll : Iterable [B ]): ListBuffer [B ] = coll match {
218
218
case pd @ View .Partitioned (partition : View .Partition [B ]) =>
219
219
partition.distribute(new ListBuffer [B ]())
220
- pd.forced.get. asInstanceOf [ ListBuffer [ B ]]
220
+ new ListBuffer [ B ] ++= pd.forced.get
221
221
case _ =>
222
222
new ListBuffer [B ] ++= coll
223
223
}
You can’t perform that action at this time.
0 commit comments