Skip to content

Commit cad7739

Browse files
committed
...
1 parent 9b46d91 commit cad7739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/tools/jackson/dataformat/xml/deser/XmlDeserializationContext.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public String extractScalarFromObject(JsonParser p, ValueDeserializer<?> deser,
6767
// Couple of ways to find "real" textual content. One is to look for
6868
// "XmlText"... but for that would need to know configuration. Alternatively
6969
// could hold on to last text seen -- but this might be last attribute, for
70-
// empty element. So for now let's simply hard-code check for empty String
71-
// as marker and hope for best
70+
// empty element. So for now let's simply hard-code check for expected
71+
// "text element" marker/placeholder and hope for best
7272
final String propName = p.currentName();
7373
JsonToken t = p.nextToken();
7474
if (t == JsonToken.VALUE_STRING) {

0 commit comments

Comments
 (0)