Explicit boxing in main classes

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406882 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-11-08 01:26:46 +00:00
parent c2e94980e1
commit 5a436e52c3
1 changed files with 2 additions and 2 deletions

View File

@ -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) {