You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Latimer (JIRA)" <ji...@apache.org> on 2015/04/27 22:06:38 UTC

[jira] [Updated] (NIFI-550) Incompatible type warning in EndpointConnectionPool

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

Mark Latimer updated NIFI-550:
------------------------------
    Attachment: 0001-peerStatus-to-peerDescription-in-EndpointConnectionP.patch

Simple change from peerStatus to peerDescription. 

> Incompatible type warning in EndpointConnectionPool
> ---------------------------------------------------
>
>                 Key: NIFI-550
>                 URL: https://issues.apache.org/jira/browse/NIFI-550
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.0.2
>            Reporter: Mark Latimer
>            Priority: Minor
>         Attachments: 0001-peerStatus-to-peerDescription-in-EndpointConnectionP.patch
>
>
> Findbugs reports incompatible type error in  EndpointConnectionPool.java
> {code}
>        final PeerDescription peerDescription = peerStatus.getPeerDescription();
>         BlockingQueue<EndpointConnection> connectionQueue = connectionQueueMap.get(peerStatus); //Should get peerDescription which is the type the map is keyed on
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)