From dbe0692b8b5afc359614931b5e3794ea66374e68 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Thu, 20 Jan 2022 05:36:07 +0100 Subject: [PATCH] Reformat with scalafmt 3.3.2 --- src/main/scala/lc/core/config.scala | 1 - src/main/scala/lc/core/models.scala | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)