aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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);