Skip to content

Commit f633014

Browse files
committed
Minor changes to module definition
1 parent 0773bde commit f633014

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

src/main/java/module-info.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Jackson 3.x module-info for jackson-dataformat-xml Main artifact
22
module tools.jackson.dataformat.xml
33
{
4-
requires java.xml;
5-
requires org.codehaus.stax2;
4+
requires transitive java.xml;
5+
requires transitive org.codehaus.stax2; // stax2-api
66

7-
requires com.fasterxml.jackson.annotation;
8-
requires tools.jackson.core;
9-
requires tools.jackson.databind;
7+
requires transitive com.fasterxml.jackson.annotation;
8+
requires transitive tools.jackson.core;
9+
requires transitive tools.jackson.databind;
1010

1111
exports tools.jackson.dataformat.xml;
1212
exports tools.jackson.dataformat.xml.annotation;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ protected MapperBuilderState _saveState() {
119119
return new XmlBuilderState(this);
120120
}
121121

122+
/**
123+
* NOTE: despite being public not exposed as part of API
124+
*
125+
* @param state State to restore builder from
126+
*/
127+
@SuppressWarnings("exports")
122128
public Builder(XmlBuilderState state) {
123129
super(state);
124130
_defaultUseWrapper = state._defaultUseWrapper;

0 commit comments

Comments
 (0)