Skip to content

Commit f68925b

Browse files
committed
Minor renaming
1 parent 68850d0 commit f68925b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ public class XmlFactory
4343
* Bitfield (set of flags) of all parser features that are enabled
4444
* by default.
4545
*/
46-
final static int DEFAULT_XML_PARSER_FEATURE_FLAGS = XmlReadFeature.collectDefaults();
46+
protected final static int DEFAULT_XML_READ_FEATURE_FLAGS = XmlReadFeature.collectDefaults();
4747

4848
/**
4949
* Bitfield (set of flags) of all generator features that are enabled
5050
* by default.
5151
*/
52-
final static int DEFAULT_XML_GENERATOR_FEATURE_FLAGS = XmlWriteFeature.collectDefaults();
52+
protected final static int DEFAULT_XML_WRITE_FEATURE_FLAGS = XmlWriteFeature.collectDefaults();
5353

5454
/*
5555
/**********************************************************************
@@ -91,7 +91,7 @@ public XmlFactory(XMLInputFactory xmlIn) {
9191
}
9292

9393
public XmlFactory(XMLInputFactory xmlIn, XMLOutputFactory xmlOut) {
94-
this(DEFAULT_XML_PARSER_FEATURE_FLAGS, DEFAULT_XML_GENERATOR_FEATURE_FLAGS,
94+
this(DEFAULT_XML_READ_FEATURE_FLAGS, DEFAULT_XML_WRITE_FEATURE_FLAGS,
9595
xmlIn, xmlOut, XmlNameProcessors.newPassthroughProcessor(),
9696
null);
9797
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ protected XmlFactoryBuilder() {
7878
super(StreamReadConstraints.defaults(),
7979
StreamWriteConstraints.defaults(),
8080
ErrorReportConfiguration.defaults(),
81-
XmlFactory.DEFAULT_XML_PARSER_FEATURE_FLAGS,
82-
XmlFactory.DEFAULT_XML_GENERATOR_FEATURE_FLAGS);
81+
XmlFactory.DEFAULT_XML_READ_FEATURE_FLAGS,
82+
XmlFactory.DEFAULT_XML_WRITE_FEATURE_FLAGS);
8383
_classLoaderForStax = null;
8484
_nameProcessor = XmlNameProcessors.newPassthroughProcessor();
8585
}

0 commit comments

Comments
 (0)