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 Payne (JIRA)" <ji...@apache.org> on 2015/04/27 22:14:39 UTC

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

    [ https://issues.apache.org/jira/browse/NIFI-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514889#comment-14514889 ] 

Mark Payne commented on NIFI-550:
---------------------------------

Eek, good find!

> 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
>             Fix For: 0.1.0
>
>         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)