You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2017/05/09 20:03:35 UTC
[44/50] httpcomponents-core git commit: Explicit boxing
Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.2.x@1504521 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/1228557f
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/1228557f
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/1228557f
Branch: refs/heads/4.2.x
Commit: 1228557f852915b84bb008a47999fa8edc9d1a0a
Parents: 9b79d3f
Author: Sebastian Bazley <se...@apache.org>
Authored: Thu Jul 18 16:57:28 2013 +0000
Committer: Sebastian Bazley <se...@apache.org>
Committed: Thu Jul 18 16:57:28 2013 +0000
----------------------------------------------------------------------
.../java/org/apache/http/nio/protocol/NullRequestConsumer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/1228557f/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
index 196cf2d..2ffeaaf 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
@@ -66,7 +66,7 @@ class NullRequestConsumer implements HttpAsyncRequestConsumer<Object> {
}
public Object getResult() {
- return this.completed;
+ return Boolean.valueOf(this.completed);
}
public Exception getException() {