diff options
author | Matt Farmer <matt@frmr.me> | 2016-03-05 18:08:07 -0500 |
---|---|---|
committer | Matt Farmer <matt@frmr.me> | 2016-03-05 18:08:07 -0500 |
commit | 005f835ef9773e6de8d07d12de01690f95cef20c (patch) | |
tree | c2964353ea7db12c148771c786aa76bb2e03c7a3 /stage2 | |
parent | a2eec03dc502b02908a00eb527bb297d5c91a6d5 (diff) | |
download | cbt-005f835ef9773e6de8d07d12de01690f95cef20c.tar.gz cbt-005f835ef9773e6de8d07d12de01690f95cef20c.tar.bz2 cbt-005f835ef9773e6de8d07d12de01690f95cef20c.zip |
Some style cleanups in Stage1.
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/AdminStage2.scala | 2 | ||||
-rw-r--r-- | stage2/Stage2.scala | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stage2/AdminStage2.scala b/stage2/AdminStage2.scala index e7e2284..d3db3e7 100644 --- a/stage2/AdminStage2.scala +++ b/stage2/AdminStage2.scala @@ -1,7 +1,7 @@ package cbt object AdminStage2{ def main(args: Array[String]) = { - val init = new Stage1.Init(args.drop(3)) + val init = new Init(args.drop(3)) val lib = new Lib(init.logger) val adminTasks = new AdminTasks(lib, args.drop(3)) new lib.ReflectObject(adminTasks){ diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala index 05b7c58..44db3ae 100644 --- a/stage2/Stage2.scala +++ b/stage2/Stage2.scala @@ -6,7 +6,7 @@ import scala.collection.immutable.Seq object Stage2{ def main(args: Array[String]) = { import java.time.LocalTime.now - val init = new Stage1.Init(args) + val init = new Init(args) import java.time._ val start = LocalTime.now() def timeTaken = Duration.between(start, LocalTime.now()).toMillis @@ -18,7 +18,7 @@ object Stage2{ val taskIndex = if(loop || direct) 2 else 1 val task = argsV.lift( taskIndex ) - val lib = new Lib(new Stage1.Init(args).logger) + val lib = new Lib(new Init(args).logger) val context = Context( cwd, argsV.drop( taskIndex + 1 ), logger ) val first = lib.loadRoot( context ) |