Skip to content

Commit

Permalink
Hide API incompatiblle fields of ElementIgnoringMapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
joehni committed Nov 7, 2024
1 parent f1dfb62 commit 9eef78c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions xstream-distribution/src/content/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ <h2>API changes</h2>
<li>Added constant c.t.x.io.xml.PrettyPrintWriter.XML_1_0_REPLACEMENT.</li>
<li>Added constant c.t.x.io.xml.PrettyPrintWriter.XML_1_1_REPLACEMENT.</li>
<li>Added c.t.x.converters.collections.WeakHashMapConverter.</li>
<li>Protected field <i>fieldsToOmit</i> of c.t.x.mapper.ElementIgnoringMapper set to private.</li>
<li>Protected field <i>unknownElementsToIgnore</i> of c.t.x.mapper.ElementIgnoringMapper set to private.</li>
</ul>

<h2>Stream compatibility</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*/
public class ElementIgnoringMapper extends MapperWrapper {

protected final Map<String, Pattern> unknownElementsToIgnore = new LinkedHashMap<>();
protected final MemberDictionary fieldsToOmit = new MemberDictionary();
private final Map<String, Pattern> unknownElementsToIgnore = new LinkedHashMap<>();
private final MemberDictionary fieldsToOmit = new MemberDictionary();

public ElementIgnoringMapper(final Mapper wrapped) {
super(wrapped);
Expand Down

0 comments on commit 9eef78c

Please sign in to comment.