Skip to content

Commit 15ecab2

Browse files
authored
Merge branch 'master' into methodhandle-hacking
2 parents 5d52967 + db17b3e commit 15ecab2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/tools/jackson/databind/DeserializationContext.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1854,9 +1854,9 @@ public <T> T reportTrailingTokens(Class<?> targetType,
18541854
// 05-Mar-2025, tatu: [databind#5001] Handle non-blocking case separately to give better message
18551855
if (trailingToken == JsonToken.NOT_AVAILABLE) {
18561856
throw MismatchedInputException.from(p, targetType,
1857-
"Incomplete content (`JsonToken.NOT_AVAILABLE`) after value (bound as %s):"
1858-
+"not allowed as per `DeserializationFeature.FAIL_ON_TRAILING_TOKENS`"
1859-
+" (missing call to `InputFeeder.endOfInput()`?)"
1857+
("Incomplete content (`JsonToken.NOT_AVAILABLE`) after value (bound as %s):"
1858+
+" not allowed as per `DeserializationFeature.FAIL_ON_TRAILING_TOKENS`"
1859+
+" (missing call to `InputFeeder.endOfInput()`?)")
18601860
.formatted(ClassUtil.nameOf(targetType)));
18611861
}
18621862
throw MismatchedInputException.from(p, targetType,

0 commit comments

Comments
 (0)