diff options
author | xuwei-k <6b656e6a69@gmail.com> | 2018-06-03 14:41:50 +0900 |
---|---|---|
committer | xuwei-k <6b656e6a69@gmail.com> | 2018-06-03 14:41:50 +0900 |
commit | 86d0179a8cd9dcc54b04ec7673d4b5fa5bb2a8ca (patch) | |
tree | 323e9c9df5eba166a10b10f88b9eeea99880cffe /src/main/scala/spray/json/BasicFormats.scala | |
parent | 8ea6d0564e1e7e106029bbb9f57a8a1990218e2d (diff) | |
download | spray-json-86d0179a8cd9dcc54b04ec7673d4b5fa5bb2a8ca.tar.gz spray-json-86d0179a8cd9dcc54b04ec7673d4b5fa5bb2a8ca.tar.bz2 spray-json-86d0179a8cd9dcc54b04ec7673d4b5fa5bb2a8ca.zip |
fix procedure syntax
Diffstat (limited to 'src/main/scala/spray/json/BasicFormats.scala')
-rw-r--r-- | src/main/scala/spray/json/BasicFormats.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/spray/json/BasicFormats.scala b/src/main/scala/spray/json/BasicFormats.scala index 65b9ecb..2e6342f 100644 --- a/src/main/scala/spray/json/BasicFormats.scala +++ b/src/main/scala/spray/json/BasicFormats.scala @@ -98,7 +98,7 @@ trait BasicFormats { implicit object UnitJsonFormat extends JsonFormat[Unit] { def write(x: Unit) = JsNumber(1) - def read(value: JsValue) {} + def read(value: JsValue): Unit = {} } implicit object BooleanJsonFormat extends JsonFormat[Boolean] { |