You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Burn Lewis (JIRA)" <de...@uima.apache.org> on 2012/06/06 21:48:22 UTC

[jira] [Created] (UIMA-2418) CDE doesn't preserve order of delegates in an aggregate

Burn Lewis created UIMA-2418:
--------------------------------

             Summary: CDE doesn't preserve order of delegates in an aggregate
                 Key: UIMA-2418
                 URL: https://issues.apache.org/jira/browse/UIMA-2418
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework, Tools
    Affects Versions: 2.4.0SDK
            Reporter: Burn Lewis
            Assignee: Burn Lewis
            Priority: Minor


When using the CDE to make a minor change to an aggregate the saved descriptor may have the declarations of the delegate AnalysisEngines reordered.  This has no effect on the processing but may affect the initialization order of the delegates, and makes a minor change look major. The fix is to replace a few HashMaps with LinkedHashMaps so the iteration order will consistently match the definition order.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (UIMA-2418) CDE doesn't preserve order of delegates in an aggregate

Posted by "Burn Lewis (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Burn Lewis resolved UIMA-2418.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.1SDK

Changes checked in.  Added JUnit tests that also test the new "preserve whitespace and comments" feature.
                
> CDE doesn't preserve order of delegates in an aggregate
> -------------------------------------------------------
>
>                 Key: UIMA-2418
>                 URL: https://issues.apache.org/jira/browse/UIMA-2418
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework, Tools
>    Affects Versions: 2.4.0SDK
>            Reporter: Burn Lewis
>            Assignee: Burn Lewis
>            Priority: Minor
>             Fix For: 2.4.1SDK
>
>
> When using the CDE to make a minor change to an aggregate the saved descriptor may have the declarations of the delegate AnalysisEngines reordered.  This has no effect on the processing but may affect the initialization order of the delegates, and makes a minor change look major. The fix is to replace a few HashMaps with LinkedHashMaps so the iteration order will consistently match the definition order.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira