Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7935

sanitzie xml unmarshalling code in DeltaCloudClient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.CR1
    • 3.2.0.CR1
    • deltacloud
    • None

      The code that unmarshals the XML responses from the deltacloud server is a mess. It is a mix of classic parsing and JAXB. Furthermore it has a lot of unsafe access (no null checks, no collection size checks etc.). It need serious refactoring.
      Talking of design the code should be separated from the client and grouped along the elements it unmarschals. This would allow us to switch communication to json or any other encoded form if needed. The current implementation would now allow that.

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: