aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-10 00:07:30 +0300
committerGravatar Vitaly Takmazov2019-04-10 00:07:54 +0300
commit50b0a0e79fd8e6f96c8f45f11e1bed9d1a7e45ff (patch)
tree46b27bd7aae7ec9a045bf3dd6494aeac68a6f817 /src/main/java
parent18094466ae8aae8a5c2e74fa18ba3f49d2c9fabf (diff)
README update and minor cleanup
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/server/api/activity/helpers/ActivityIdDeserializer.java3
1 files changed, 1 insertions, 2 deletions
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<String> {
@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);