Minor hashes refactoring

This commit is contained in:
Šesták Vít committed 2017-06-19 13:09:17 +02:00
1 parent e732e2fbb9
commit 2d0651cfc7
4 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ object Statistics{
// TODO: Move this to a better place
implicit val hashesWrites = Writes[Hashes](h => JsString(s"${h.sha1}-${h.md5}"))
implicit val hashesWrites = Writes[Hashes](h => JsString(h.serialized))
implicit val confidenceWrites = Writes[Confidence](c => JsString(c.toString))
implicit val identifierWrites = Json.writes[Identifier]
implicit val evidenceWrites = Json.writes[Evidence]