Skip to content

Commit 8631010

Browse files
committed
Fix a minor bug
1 parent 296f6b7 commit 8631010

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/tools/jackson/dataformat/xml/XmlFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public XmlFactory(XMLInputFactory xmlIn) {
9292
public XmlFactory(XMLInputFactory xmlIn, XMLOutputFactory xmlOut) {
9393
this(DEFAULT_XML_READ_FEATURE_FLAGS, DEFAULT_XML_WRITE_FEATURE_FLAGS,
9494
xmlIn, xmlOut, XmlNameProcessors.newPassthroughProcessor(),
95-
null);
95+
FromXmlParser.DEFAULT_UNNAMED_TEXT_PROPERTY);
9696
}
9797

9898
protected XmlFactory(int xpFeatures, int xgFeatures,

src/main/java/tools/jackson/dataformat/xml/XmlFactoryBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class XmlFactoryBuilder extends DecorableTSFBuilder<XmlFactory, XmlFactor
5151
*<p>
5252
* Name used for pseudo-property used for returning XML Text value (which does
5353
* not have actual element name to use). Defaults to empty String, but
54-
* may be changed for interoperability reasons: JAXB, for example, uses
54+
* may be changed for inter-operability reasons: JAXB, for example, uses
5555
* "value" as name.
5656
*/
5757
protected String _nameForTextElement;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class FromXmlParser
7474
* {@link XmlReadFeature}s
7575
* are enabled.
7676
*/
77-
protected int _formatFeatures;
77+
protected final int _formatFeatures;
7878

7979
/*
8080
/**********************************************************************

0 commit comments

Comments
 (0)