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 8, 2023
1 parent 0b78b24 commit 4b1c7e7
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 4b1c7e7

Please sign in to comment.