aboutsummaryrefslogtreecommitdiff
path: root/stage2/Lib.scala
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2016-11-13 15:23:21 -0500
committerGitHub <noreply@github.com>2016-11-13 15:23:21 -0500
commit9664f3e22156ab159e310f31720082b417dcf03e (patch)
tree4d0c2ffa40e14e239a415a53bb7faef2302de204 /stage2/Lib.scala
parent336475c2f16ce3689b121884584049470c1f9d67 (diff)
parent293a1816e32a3f62fd5effa950386a02ca130c18 (diff)
downloadcbt-9664f3e22156ab159e310f31720082b417dcf03e.tar.gz
cbt-9664f3e22156ab159e310f31720082b417dcf03e.tar.bz2
cbt-9664f3e22156ab159e310f31720082b417dcf03e.zip
Merge pull request #311 from cvogt/remove-dot-copy
reduce usage of .copy as preparation to replace it with newBuild
Diffstat (limited to 'stage2/Lib.scala')
-rw-r--r--stage2/Lib.scala5
1 files changed, 0 insertions, 5 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala
index 3f6242f..9da468d 100644
--- a/stage2/Lib.scala
+++ b/stage2/Lib.scala
@@ -21,11 +21,6 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{
val buildClassName = "Build"
val buildBuildClassName = "BuildBuild"
- def copy(cls: Class[_], context: Context) =
- cls
- .getConstructor(classOf[Context])
- .newInstance(context)
-
/** Loads Build for given Context */
def loadDynamic(context: Context, default: Context => BuildInterface = new BasicBuild(_)): BuildInterface = {
context.logger.composition( context.logger.showInvocation("Build.loadDynamic",context) )