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:15:04 UTC

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

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


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


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

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam closed SCOUT-41.
--------------------------

    Resolution: Fixed

> 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: Kurt Stam
>             Fix For: 1.0rc1
>
>         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


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

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam updated SCOUT-41:
---------------------------

    Assignee: Kurt Stam  (was: Anil Saldhana)

> 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: Kurt Stam
>         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


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

Posted by "Jarek Gawor (JIRA)" <sc...@ws.apache.org>.
     [ 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


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

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam reopened SCOUT-41:
----------------------------


need to add the right Fix Version

> 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: Kurt Stam
>             Fix For: 1.0rc1
>
>         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


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

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam updated SCOUT-41:
---------------------------

    Fix Version/s: 1.0rc1

> 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: Kurt Stam
>             Fix For: 1.0rc1
>
>         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


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

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam closed SCOUT-41.
--------------------------

    Resolution: Fixed

Thank you Jarek, good catch :). Applied the 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: Kurt Stam
>         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