From 5a436e52c3c310a383e6d40b94623800edf9ae5d Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 8 Nov 2012 01:26:46 +0000 Subject: [PATCH] Explicit boxing in main classes git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406882 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/http/impl/conn/CPoolProxy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java b/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java index cafaf80c1..ae72d106d 100644 --- a/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java +++ b/httpclient/src/main/java/org/apache/http/impl/conn/CPoolProxy.java @@ -112,9 +112,9 @@ class CPoolProxy implements InvocationHandler { 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) {