diff --git a/src/main/scala/lc/core/config.scala b/src/main/scala/lc/core/config.scala index 3dc6f14..04241ba 100644 --- a/src/main/scala/lc/core/config.scala +++ b/src/main/scala/lc/core/config.scala @@ -11,7 +11,6 @@ import java.io.{FileNotFoundException, File, PrintWriter} import java.{util => ju} import lc.misc.HelperFunctions - class Config(configFilePath: String) { import Config.formats diff --git a/src/main/scala/lc/core/models.scala b/src/main/scala/lc/core/models.scala index f31f731..d2941d7 100644 --- a/src/main/scala/lc/core/models.scala +++ b/src/main/scala/lc/core/models.scala @@ -28,7 +28,7 @@ case class ConfigField( playgroundEnabled: Option[java.lang.Boolean], corsHeader: Option[String], maxAttempts: Option[Integer] - ){ +) { lazy val portInt: Option[Int] = mapInt(port) lazy val throttleInt: Option[Int] = mapInt(throttle) lazy val seedInt: Option[Int] = mapInt(seed)