Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-437

Method addOmittedFields in XStreamMarshaller should access XStream instance via getter.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.5
    • Component/s: OXM
    • Labels:
      None
    • 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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            novotnyr Robert Novotny
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified