aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn St John <johnthesaintjohn@gmail.com>2017-10-05 16:05:01 -0700
committerJohn St John <johnthesaintjohn@gmail.com>2017-10-05 16:05:01 -0700
commit2c9f274f961ba6b0af662752afc3c0ee99a475de (patch)
tree6e71cdeccd66d305d752e8ecb6ef9522f07a04f6
parentfc391986211a2b4a6163babd9fc2273bd363de75 (diff)
downloaddriver-core-2c9f274f961ba6b0af662752afc3c0ee99a475de.tar.gz
driver-core-2c9f274f961ba6b0af662752afc3c0ee99a475de.tar.bz2
driver-core-2c9f274f961ba6b0af662752afc3c0ee99a475de.zip
reapply scalafmt
-rw-r--r--src/main/scala/xyz/driver/core/app.scala25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/main/scala/xyz/driver/core/app.scala b/src/main/scala/xyz/driver/core/app.scala
index 553fcb8..19eef52 100644
--- a/src/main/scala/xyz/driver/core/app.scala
+++ b/src/main/scala/xyz/driver/core/app.scala
@@ -37,19 +37,18 @@ import scalaz.syntax.equal._
object app {
- class DriverApp(
- appName: String,
- version: String,
- gitHash: String,
- modules: Seq[Module],
- time: TimeProvider = new SystemTimeProvider(),
- log: Logger = Logger(LoggerFactory.getLogger(classOf[DriverApp])),
- config: Config = core.config.loadDefaultConfig,
- interface: String = "::0",
- baseUrl: String = "localhost:8080",
- scheme: String = "http",
- port: Int = 8080,
- tracer: Tracer = NoTracer)(implicit actorSystem: ActorSystem, executionContext: ExecutionContext) {
+ class DriverApp(appName: String,
+ version: String,
+ gitHash: String,
+ modules: Seq[Module],
+ time: TimeProvider = new SystemTimeProvider(),
+ log: Logger = Logger(LoggerFactory.getLogger(classOf[DriverApp])),
+ config: Config = core.config.loadDefaultConfig,
+ interface: String = "::0",
+ baseUrl: String = "localhost:8080",
+ scheme: String = "http",
+ port: Int = 8080,
+ tracer: Tracer = NoTracer)(implicit actorSystem: ActorSystem, executionContext: ExecutionContext) {
implicit private lazy val materializer = ActorMaterializer()(actorSystem)
private lazy val http = Http()(actorSystem)