From adb943605e6e41d10d7b6984b515a13b7ad84de7 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Wed, 29 Aug 2018 22:48:21 -0700 Subject: Fix typos and naming of actor system --- src/main/scala/xyz/driver/core/init/AkkaBootable.scala | 5 ++--- src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/scala/xyz/driver/core/init/AkkaBootable.scala b/src/main/scala/xyz/driver/core/init/AkkaBootable.scala index 8aa8de9..5e0b36c 100644 --- a/src/main/scala/xyz/driver/core/init/AkkaBootable.scala +++ b/src/main/scala/xyz/driver/core/init/AkkaBootable.scala @@ -75,7 +75,7 @@ trait AkkaBootable { /** General-purpose actor system for this application. * @group contexts */ - implicit lazy val system: ActorSystem = ActorSystem("app") + implicit lazy val system: ActorSystem = ActorSystem(name) /** General-purpose stream materializer for this application. * @group contexts @@ -98,9 +98,8 @@ trait AkkaBootable { */ implicit lazy val httpClient: SttpBackend[Future, Source[ByteString, Any]] = AkkaHttpBackend.usingActorSystem(system) - /** Old HTTP client system. Prefer using an sttp backend for new service clients. + /** Client RPC transport abstraction. * @group contexts - * @see httpClient */ implicit lazy val clientTransport: HttpRestServiceTransport = new HttpRestServiceTransport( applicationName = Name(name), diff --git a/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala b/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala index 07e32b0..183ad9a 100644 --- a/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala +++ b/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala @@ -14,7 +14,7 @@ import xyz.driver.core.time.Time import scala.util.control.NonFatal -/** Akka-HTTP path matchers for suctom core types */ +/** Akka-HTTP path matchers for custom core types. */ trait PathMatchers { private def UuidInPath[T]: PathMatcher1[Id[T]] = -- cgit v1.2.3