aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-19 19:42:19 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-27 23:54:15 -0400
commit9049773eab2dd7675a9b1cacd92bbe67825cf1ea (patch)
tree278637aaf626d52cb73bfd9d55863651ea7cba89 /plugins
parent1bf88c580aedd82dc7e3ebede2ba10e3fecf298e (diff)
downloadcbt-9049773eab2dd7675a9b1cacd92bbe67825cf1ea.tar.gz
cbt-9049773eab2dd7675a9b1cacd92bbe67825cf1ea.tar.bz2
cbt-9049773eab2dd7675a9b1cacd92bbe67825cf1ea.zip
explicitly convert to Vector everywhere for hopefully performance
benefits
Diffstat (limited to 'plugins')
-rw-r--r--plugins/scalatest/ScalaTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/scalatest/ScalaTest.scala b/plugins/scalatest/ScalaTest.scala
index 7f805fd..e2f44e3 100644
--- a/plugins/scalatest/ScalaTest.scala
+++ b/plugins/scalatest/ScalaTest.scala
@@ -33,7 +33,7 @@ object ScalaTestLib{
.getMethod("discoverSuiteNames", classOf[List[_]], classOf[ClassLoader], classOf[Option[_]])
.invoke(null, List(discoveryPath.string ++ "/"), classLoader, None)
.asInstanceOf[Set[String]]
- .to
+ .toVector
}
def loadSuite(name: String, classLoader: ClassLoader) = {
classLoader.loadClass(name).getConstructor().newInstance().asInstanceOf[Suite]