[
https://issues.apache.org/jira/browse/AMBARI-23851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doroszlai, Attila resolved AMBARI-23851.
----------------------------------------
Resolution: Fixed
> No relationship between generic parameter and method argument
> -------------------------------------------------------------
>
> Key: AMBARI-23851
> URL: https://issues.apache.org/jira/browse/AMBARI-23851
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: trunk
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Major
> Labels: pull-request-available
> Fix For: trunk
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Call to a generic collection method contains an argument with an incompatible
> class from that of the collection's parameter (i.e., the type of the argument
> is neither a supertype nor a subtype of the corresponding generic type
> argument). Therefore, it is unlikely that the collection contains any objects
> that are equal to the method argument used here. Most likely, the wrong value
> is being passed to the method.
> * {{String}} is incompatible with expected argument type {{Long}} in
> {{onHostRemoved(String)}}
> * {{Long}} is incompatible with expected argument type
> {{AlertDefinitionEntity}} in
> {{AlertGroupsUpdateListener.onAlertDefinitionDeleted(AlertDefinitionDeleteEvent)}}
> * {{String}} is incompatible with expected argument type {{Long}} in
> {{HostConfigMappingDAO.removeByClusterAndHostName(long, String)}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)