[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-7935) sanitzie xml unmarshalling code in DeltaCloudClient

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Jan 11 09:00:50 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-7935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim resolved JBIDE-7935.
-------------------------------------

    Fix Version/s: 3.2.0.CR1
                       (was: 3.2.x)
       Resolution: Done


committed to TRUNK (CR1)

> sanitzie xml unmarshalling code in DeltaCloudClient
> ---------------------------------------------------
>
>                 Key: JBIDE-7935
>                 URL: https://issues.jboss.org/browse/JBIDE-7935
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: deltacloud
>    Affects Versions: 3.2.0.CR1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.2.0.CR1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list