cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [3/3] git commit: null, let me count the ways I hate thee
Date Fri, 02 Nov 2012 13:59:31 GMT
null, let me count the ways I hate thee


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c7399e97
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c7399e97
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c7399e97

Branch: refs/heads/cassandra-1.1
Commit: c7399e97e83cf737ead696fda8824de1d3487afb
Parents: 2644aa9
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Fri Nov 2 08:58:50 2012 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Fri Nov 2 08:58:50 2012 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/net/MessagingService.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c7399e97/src/java/org/apache/cassandra/net/MessagingService.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/net/MessagingService.java b/src/java/org/apache/cassandra/net/MessagingService.java
index 0a1bebb..b2649f9 100644
--- a/src/java/org/apache/cassandra/net/MessagingService.java
+++ b/src/java/org/apache/cassandra/net/MessagingService.java
@@ -301,7 +301,7 @@ public final class MessagingService implements MessagingServiceMBean
     public void destroyConnectionPool(InetAddress to)
     {
         OutboundTcpConnectionPool cp = connectionManagers_.get(to);
-        if (to == null)
+        if (cp == null)
             return;
         // these null guards are simply for tests
         if (cp.ackCon != null)


Mime
View raw message