You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2013/07/18 18:57:29 UTC

svn commit: r1504521 - /httpcomponents/httpcore/branches/4.2.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java

Author: sebb
Date: Thu Jul 18 16:57:28 2013
New Revision: 1504521

URL: http://svn.apache.org/r1504521
Log:
Explicit boxing

Modified:
    httpcomponents/httpcore/branches/4.2.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java

Modified: httpcomponents/httpcore/branches/4.2.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.2.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java?rev=1504521&r1=1504520&r2=1504521&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.2.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java (original)
+++ httpcomponents/httpcore/branches/4.2.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java Thu Jul 18 16:57:28 2013
@@ -66,7 +66,7 @@ class NullRequestConsumer implements Htt
     }
 
     public Object getResult() {
-        return this.completed;
+        return Boolean.valueOf(this.completed);
     }
 
     public Exception getException() {