hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1406882 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java
Date Thu, 08 Nov 2012 01:26:47 GMT
Author: sebb
Date: Thu Nov  8 01:26:46 2012
New Revision: 1406882

URL: http://svn.apache.org/viewvc?rev=1406882&view=rev
Log:
Explicit boxing in main classes

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java?rev=1406882&r1=1406881&r2=1406882&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java
Thu Nov  8 01:26:46 2012
@@ -112,9 +112,9 @@ class CPoolProxy implements InvocationHa
             shutdown();
             return null;
         } else if (mname.equals("isOpen")) {
-            return isOpen();
+            return Boolean.valueOf(isOpen());
         } else if (mname.equals("isStale")) {
-            return isStale();
+            return Boolean.valueOf(isStale());
         } else {
             HttpClientConnection conn = getConnection();
             if (conn == null) {



Mime
View raw message