aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Ross (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-1387) Make equals and hashCode comparisons within the header, clause, and parameter hierarchies based on equivalency rather than string equals.
Date Mon, 05 Oct 2015 13:27:26 GMT

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

John Ross updated ARIES-1387:
-----------------------------
    Fix Version/s: subsystem-2.0.4

> Make equals and hashCode comparisons within the header, clause, and parameter hierarchies
based on equivalency rather than string equals.
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1387
>                 URL: https://issues.apache.org/jira/browse/ARIES-1387
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem
>            Reporter: Cristiano GaviĆ£o
>            Assignee: John Ross
>             Fix For: subsystem-2.0.4
>
>
> Currently the org.apache.aries.subsystem.core.archive.SubsystemContentHeader class (line
210) and other headers classes uses a HashSet in order to hold its clauses.
> HashSet doesn't ensure the order of its items and then its impossible to have a reproducible
build of any manifest file. As the SubsystemManifest class doesn't provide a equals() method,
we can't compare a generated manifest file with any template in a test, it will fail.
> The propose it to change the used HashSet for the LinkedHashSet class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message