Update buffercollection.scala
Merge pull request #194 from Atry/patch-1

Fix #189