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

Reply via email to