Skip to content

Commit

Permalink
stop using deprecatec method that is removed in jackson 2.16
Browse files Browse the repository at this point in the history
Update gradle.properties
  • Loading branch information
pjfanning committed Oct 12, 2023
1 parent 22d0c26 commit ef33ff5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public CharSeq deserialize(JsonParser p, DeserializationContext ctxt) throws IOE
if (obj instanceof String) {
return CharSeq.of((String) obj);
} else {
throw ctxt.wrongTokenException(p, JsonToken.VALUE_STRING, "CharSeq can only be deserialized from String");
throw ctxt.wrongTokenException(p, (JavaType) null,
JsonToken.VALUE_STRING, "CharSeq can only be deserialized from String");
}
}

Expand Down

0 comments on commit ef33ff5

Please sign in to comment.