diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-06-07 00:47:06 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-06-15 01:24:46 -0400 |
commit | b37e339c41483c15bf14f84be60c8470fd429d77 (patch) | |
tree | 5a0ce098df0f166d13d8018257817b799ad3889d /stage1/Stage1Lib.scala | |
parent | 81a8db46ce92f6f0b7b2c2661ae8f0a2f38e5adc (diff) | |
download | cbt-b37e339c41483c15bf14f84be60c8470fd429d77.tar.gz cbt-b37e339c41483c15bf14f84be60c8470fd429d77.tar.bz2 cbt-b37e339c41483c15bf14f84be60c8470fd429d77.zip |
Get rid of Build default imports to reduce noise in build files. This also changes builds from using immutable.Seq to using Predef.Seq in favor of simplicity over purity. This has been discussed on gitter.
Diffstat (limited to 'stage1/Stage1Lib.scala')
-rw-r--r-- | stage1/Stage1Lib.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stage1/Stage1Lib.scala b/stage1/Stage1Lib.scala index ac2c1b1..7b4db59 100644 --- a/stage1/Stage1Lib.scala +++ b/stage1/Stage1Lib.scala @@ -12,8 +12,6 @@ import java.util.{Set=>_,Map=>_,_} import java.util.concurrent.ConcurrentHashMap import javax.xml.bind.annotation.adapters.HexBinaryAdapter -import scala.collection.immutable.Seq - // CLI interop case class ExitCode(integer: Int) object ExitCode{ @@ -337,7 +335,7 @@ ${files.sorted.mkString(" \\\n")} def dependencyClassLoader( latest: Map[(String,String),Dependency], cache: ClassLoaderCache ): ClassLoader = { if( dependency.dependencies.isEmpty ){ // wrap for caching - new cbt.URLClassLoader( ClassPath(Seq()), ClassLoader.getSystemClassLoader().getParent() ) + new cbt.URLClassLoader( ClassPath(), ClassLoader.getSystemClassLoader().getParent() ) } else if( dependencies.size == 1 ){ classLoaderRecursion( dependencies.head, latest, cache ) } else{ |