mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-29 13:35:57 -05:00
Reformat with scalafmt 3.3.2
This commit is contained in:
parent
46031ce2e4
commit
dbe0692b8b
@ -11,7 +11,6 @@ import java.io.{FileNotFoundException, File, PrintWriter}
|
|||||||
import java.{util => ju}
|
import java.{util => ju}
|
||||||
import lc.misc.HelperFunctions
|
import lc.misc.HelperFunctions
|
||||||
|
|
||||||
|
|
||||||
class Config(configFilePath: String) {
|
class Config(configFilePath: String) {
|
||||||
|
|
||||||
import Config.formats
|
import Config.formats
|
||||||
|
@ -28,7 +28,7 @@ case class ConfigField(
|
|||||||
playgroundEnabled: Option[java.lang.Boolean],
|
playgroundEnabled: Option[java.lang.Boolean],
|
||||||
corsHeader: Option[String],
|
corsHeader: Option[String],
|
||||||
maxAttempts: Option[Integer]
|
maxAttempts: Option[Integer]
|
||||||
){
|
) {
|
||||||
lazy val portInt: Option[Int] = mapInt(port)
|
lazy val portInt: Option[Int] = mapInt(port)
|
||||||
lazy val throttleInt: Option[Int] = mapInt(throttle)
|
lazy val throttleInt: Option[Int] = mapInt(throttle)
|
||||||
lazy val seedInt: Option[Int] = mapInt(seed)
|
lazy val seedInt: Option[Int] = mapInt(seed)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user