[
https://issues.apache.org/jira/browse/NIFI-15728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-15728:
------------------------------------
Description:
Currently there are three implementations of
org.apache.nifi.components.resource.ResourceReference
# FileResourceReference
# URLResourceReference
# Utf8TextResource
Of the three implementations, only FileResourceReference implements an equals
and hashcode methods. The point of this ticket is to create equals and hashcode
methods for URLResourceReference and Utf8TextResource which would then allow
for all of these classes to be keys in a java.util.Map.
was:
Currently there are three implementations of
org.apache.nifi.components.resource.ResourceReference
# FileResourceReference
# URLResourceReference
# Utf8TextResource
Of the three implementations, only FileResourceReference implements an equals
and hashcode methods. The point of this ticket is to create equals and hashcode
methods for URLResourceReference and Utf8TextResource which would then allow
for all of these classes to be keys in a java.uti.Map.
> Create equals and hashcode methods for classes URLResourceReference and
> Utf8TextResource
> ----------------------------------------------------------------------------------------
>
> Key: NIFI-15728
> URL: https://issues.apache.org/jira/browse/NIFI-15728
> Project: Apache NiFi
> Issue Type: Improvement
> Components: NiFi API
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently there are three implementations of
> org.apache.nifi.components.resource.ResourceReference
> # FileResourceReference
> # URLResourceReference
> # Utf8TextResource
> Of the three implementations, only FileResourceReference implements an equals
> and hashcode methods. The point of this ticket is to create equals and
> hashcode methods for URLResourceReference and Utf8TextResource which would
> then allow for all of these classes to be keys in a java.util.Map.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)