Skip to content

Commit 15f96ef

Browse files
committed
Fix #1112. A missing %s in a format.
1 parent b9f6c5b commit 15f96ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/databind/DeserializationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ public JsonMappingException weirdNumberException(Number value, Class<?> instClas
928928
*/
929929
public JsonMappingException weirdKeyException(Class<?> keyClass, String keyValue, String msg) {
930930
return InvalidFormatException.from(_parser,
931-
String.format("Can not construct Map key of type %s from String \"%s\": ",
931+
String.format("Can not construct Map key of type %s from String \"%s\": %s",
932932
keyClass.getName(), _desc(keyValue), msg),
933933
keyValue, keyClass);
934934
}

0 commit comments

Comments
 (0)