From f2df94048f0621ca3d53af70576d812c5a3bfaf4 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Wed, 30 Apr 2008 00:15:27 +0000 Subject: [PATCH] managedConn cannot be null git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652197 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/impl/conn/SingleClientConnManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java b/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java index 5fa1e9e8a..55e3689ad 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java @@ -343,8 +343,7 @@ public class SingleClientConnManager implements ClientConnectionManager { LOG.warn(MISUSE_MESSAGE); - if (managedConn != null) - managedConn.detach(); + managedConn.detach(); try { uniquePoolEntry.shutdown();