hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r652197 - /httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java
Date Wed, 30 Apr 2008 00:15:27 GMT
Author: sebb
Date: Tue Apr 29 17:15:27 2008
New Revision: 652197

URL: http://svn.apache.org/viewvc?rev=652197&view=rev
Log:
managedConn cannot be null

Modified:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java?rev=652197&r1=652196&r2=652197&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java
Tue Apr 29 17:15:27 2008
@@ -343,8 +343,7 @@
 
         LOG.warn(MISUSE_MESSAGE);
 
-        if (managedConn != null)
-            managedConn.detach();
+        managedConn.detach();
 
         try {
             uniquePoolEntry.shutdown();



Mime
View raw message