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 6, 2024
1 parent 81eb49d commit 8e08b33
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 @@ -60,6 +60,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 MemberDictionary fieldsToOmit = new MemberDictionary();
protected final Map unknownElementsToIgnore = new LinkedHashMap();
private final MemberDictionary fieldsToOmit = new MemberDictionary();
private final Map unknownElementsToIgnore = new LinkedHashMap();

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

0 comments on commit 8e08b33

Please sign in to comment.