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 authored and pivovarit committed Oct 13, 2024
1 parent 8ab5102 commit c928fdb
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 c928fdb

Please sign in to comment.