aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/json.scala
diff options
context:
space:
mode:
authorvlad <vlad@driver.xyz>2017-05-25 17:05:23 -0700
committervlad <vlad@driver.xyz>2017-05-25 17:05:23 -0700
commit9a7e3688e407febec5c5ab05d3c7ff432c4f9025 (patch)
tree0a208f27f52317927a325d1cb4eb361b97a09b7b /src/main/scala/xyz/driver/core/json.scala
parenta89dc9e25b0174baae6ffab9b9211630fcb522d5 (diff)
downloaddriver-core-9a7e3688e407febec5c5ab05d3c7ff432c4f9025.tar.gz
driver-core-9a7e3688e407febec5c5ab05d3c7ff432c4f9025.tar.bz2
driver-core-9a7e3688e407febec5c5ab05d3c7ff432c4f9025.zip
Merge branch 'master' of https://github.com/drivergroup/driver-core into service-dependencies
# Conflicts: # src/main/scala/xyz/driver/core/app.scala # src/main/scala/xyz/driver/core/rest.scala
Diffstat (limited to 'src/main/scala/xyz/driver/core/json.scala')
-rw-r--r--src/main/scala/xyz/driver/core/json.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/scala/xyz/driver/core/json.scala b/src/main/scala/xyz/driver/core/json.scala
index b9d0745..b203c91 100644
--- a/src/main/scala/xyz/driver/core/json.scala
+++ b/src/main/scala/xyz/driver/core/json.scala
@@ -18,7 +18,8 @@ import xyz.driver.core.time.Time
object json {
import DefaultJsonProtocol._
- private def UuidInPath[T]: PathMatcher1[Id[T]] = PathMatchers.JavaUUID.map((id: UUID) => Id[T](id.toString.toLowerCase))
+ private def UuidInPath[T]: PathMatcher1[Id[T]] =
+ PathMatchers.JavaUUID.map((id: UUID) => Id[T](id.toString.toLowerCase))
def IdInPath[T]: PathMatcher1[Id[T]] = UuidInPath[T] | new PathMatcher1[Id[T]] {
def apply(path: Path) = path match {