[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 Fri Dec 15 21:35:49 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.