]
Paul Ferraro updated WFCORE-4399:
---------------------------------
Summary: ResourceEntry implementations to not implement equals/hashCode (was:
ResourceEntry implements to not implement equals/hashCode)
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 default implementation of
this method.