diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-04-29 01:39:27 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-04-29 01:42:18 -0400 |
commit | f6f01f823edd848ca813ea0b9796cabda7b26fbf (patch) | |
tree | 9c9198c6c24a694c02d45c4a28f7505d0f1de841 | |
parent | 0564c3aa3f17cb9e7e36d63f5432f1b0487250d6 (diff) | |
download | cbt-f6f01f823edd848ca813ea0b9796cabda7b26fbf.tar.gz cbt-f6f01f823edd848ca813ea0b9796cabda7b26fbf.tar.bz2 cbt-f6f01f823edd848ca813ea0b9796cabda7b26fbf.zip |
Remove unnecessary code. .classLoader should already do this
-rw-r--r-- | stage1/Stage1.scala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/stage1/Stage1.scala b/stage1/Stage1.scala index 2a826e5..e501300 100644 --- a/stage1/Stage1.scala +++ b/stage1/Stage1.scala @@ -111,10 +111,7 @@ object Stage1{ classLoaderCache.persistent.remove( cbtDependency.classpath.string ) } - val stage2ClassLoader = classLoaderCache.persistent.get( - cbtDependency.classpath.string, - cbtDependency.classLoader(classLoaderCache) - ) + val stage2ClassLoader = cbtDependency.classLoader(classLoaderCache) { // a few classloader sanity checks |