[jboss-jira] [JBoss JIRA] (WFCORE-4399) ResourceEntry implementations to not implement equals/hashCode
Paul Ferraro (Jira)
issues at jboss.org
Wed Apr 3 10:46:05 EDT 2019
[ https://issues.jboss.org/browse/WFCORE-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Ferraro updated WFCORE-4399:
---------------------------------
Description: The default implementation of Resource.getChildren(String) returns a LinkedHashSet containing child entries. However, it seems none of the implementations of Resource.ResourceEntry implement equals() and hashCode(). This causes headaches for anyone creating a custom resource that wishes to augment the set returned by the default implementation of this method. (was: The default implementation of Resource.getChildren(String) returns a LinkedHashSet containing child entries. However, it seems none of the implementations of Resource.ResourceEntry implement equals() and hashCode(). This causes headaches for anyone creating a custom resource that wishes to augment the default implementation of this method.)
> ResourceEntry implementations to not implement equals/hashCode
> --------------------------------------------------------------
>
> Key: WFCORE-4399
> URL: https://issues.jboss.org/browse/WFCORE-4399
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 9.0.0.Beta1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Major
>
> The default implementation of Resource.getChildren(String) returns a LinkedHashSet containing child entries. However, it seems none of the implementations of Resource.ResourceEntry implement equals() and hashCode(). This causes headaches for anyone creating a custom resource that wishes to augment the set returned by the default implementation of this method.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list