NIFI-409: Fixed NPE

This commit is contained in:
Mark Payne 2015-03-10 12:01:42 -04:00
parent 3533a4a58e
commit 053d29dc19
1 changed files with 0 additions and 1 deletions

View File

@ -314,7 +314,6 @@ public class EndpointConnectionPool {
if ( protocol.isDestinationFull() ) {
logger.warn("{} {} indicates that port's destination is full; penalizing peer", this, peer);
penalize(peer, penalizationMillis);
connectionQueue.offer(connection);
continue;
} else if ( protocol.isPortInvalid() ) {
penalize(peer, penalizationMillis);