You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/15 17:28:00 UTC

[jira] [Updated] (AMBARI-23851) No relationship between generic parameter and method argument

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

ASF GitHub Bot updated AMBARI-23851:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>
>
> 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)