From 50b0a0e79fd8e6f96c8f45f11e1bed9d1a7e45ff Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 10 Apr 2019 00:07:30 +0300 Subject: README update and minor cleanup --- .../com/juick/server/api/activity/helpers/ActivityIdDeserializer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/com/juick') diff --git a/src/main/java/com/juick/server/api/activity/helpers/ActivityIdDeserializer.java b/src/main/java/com/juick/server/api/activity/helpers/ActivityIdDeserializer.java index ba8cfb87..69076cbc 100644 --- a/src/main/java/com/juick/server/api/activity/helpers/ActivityIdDeserializer.java +++ b/src/main/java/com/juick/server/api/activity/helpers/ActivityIdDeserializer.java @@ -1,7 +1,6 @@ package com.juick.server.api.activity.helpers; import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; @@ -11,7 +10,7 @@ import java.io.IOException; public class ActivityIdDeserializer extends JsonDeserializer { @Override - public String deserialize(JsonParser p, DeserializationContext ctxt) throws IOException, JsonProcessingException { + public String deserialize(JsonParser p, DeserializationContext ctxt) throws IOException { JsonToken jsonToken = p.getCurrentToken(); if (jsonToken == JsonToken.START_OBJECT) { JsonNode node = p.getCodec().readTree(p); -- cgit v1.2.3