mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-17 07:26:47 +00:00
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:
parent
c2e94980e1
commit
5a436e52c3
@ -112,9 +112,9 @@ public Object invoke(
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user