Skip to content

Commit

Permalink
Minor changes to module definition
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 15, 2025
1 parent 0773bde commit f633014
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Jackson 3.x module-info for jackson-dataformat-xml Main artifact
module tools.jackson.dataformat.xml
{
requires java.xml;
requires org.codehaus.stax2;
requires transitive java.xml;
requires transitive org.codehaus.stax2; // stax2-api

requires com.fasterxml.jackson.annotation;
requires tools.jackson.core;
requires tools.jackson.databind;
requires transitive com.fasterxml.jackson.annotation;
requires transitive tools.jackson.core;
requires transitive tools.jackson.databind;

exports tools.jackson.dataformat.xml;
exports tools.jackson.dataformat.xml.annotation;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tools/jackson/dataformat/xml/XmlMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ protected MapperBuilderState _saveState() {
return new XmlBuilderState(this);
}

/**
* NOTE: despite being public not exposed as part of API
*
* @param state State to restore builder from
*/
@SuppressWarnings("exports")
public Builder(XmlBuilderState state) {
super(state);
_defaultUseWrapper = state._defaultUseWrapper;
Expand Down

0 comments on commit f633014

Please sign in to comment.