You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scout-dev@ws.apache.org by "Jarek Gawor (JIRA)" <sc...@ws.apache.org> on 2007/07/10 20:17:04 UTC

[jira] Updated: (SCOUT-41) Results not returned in the given order

     [ https://issues.apache.org/jira/browse/SCOUT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor updated SCOUT-41:
-----------------------------

    Attachment: SCOUT-41.patch

> Results not returned in the given order
> ---------------------------------------
>
>                 Key: SCOUT-41
>                 URL: https://issues.apache.org/jira/browse/SCOUT-41
>             Project: Scout
>          Issue Type: Bug
>          Components: Scout Implementation
>            Reporter: Jarek Gawor
>            Assignee: Anil Saldhana
>         Attachments: SCOUT-41.patch
>
>
> Because of https://issues.apache.org/jira/browse/SCOUT-35 related changes (to avoid duplicates) code was switched to use HashSet to store the results. However, sometimes the JAXR results must be returned in a specific order. Since HashSet does not preserve the insertion order the results must be stored in LinkedHashSet so that the duplicates are removed and the order is preserved. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org