[SWS-437] Method addOmittedFields in XStreamMarshaller should access XStream instance via getter. Created: 07/Oct/08  Updated: 04/May/12  Resolved: 07/Oct/08

Status: Closed
Project: Spring Web Services
Component/s: OXM
Affects Version/s: None
Fix Version/s: 1.5.5

Type: Bug Priority: Minor
Reporter: Robert Novotny Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1h
Time Spent: Not Specified
Original Estimate: 1h
Environment:

Spring WS 1.5.4, JDK 5



 Description   

XStreamMarshaller consistently accesses to the XStream instance via getters. However the method addOmittedFields() contains the direct access to the XStream instance.
Original code:
public void addOmittedField(Class type, String fieldName)

{ xstream.omitField(type, fieldName); }

This is inconsistent with the rest of the code in the class and prevents the subclasses of XStreamMarshaller to provide their own implementation of XStream.



 Comments   
Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Tue Jul 17 15:50:50 UTC 2018 using JIRA 7.9.0#79000-sha1:3ca552e944c2fe83b21589bc06f155b9b428cc2b.