Use JavaConversions.asScalaBuffer rather than JavaConversions.asBuffer.

asBuffer had been deprecated in scala 2.8.1 which was in 2010. Nowdays, my version of scala doesn't even have this API anymore so it generates an error...