hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1406883 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
Date Thu, 08 Nov 2012 01:31:04 GMT
Author: sebb
Date: Thu Nov  8 01:31:04 2012
New Revision: 1406883

URL: http://svn.apache.org/viewvc?rev=1406883&view=rev
Log:
Explicit boxing in main classes

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

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java?rev=1406883&r1=1406882&r2=1406883&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NullRequestConsumer.java
Thu Nov  8 01:31:04 2012
@@ -66,7 +66,7 @@ class NullRequestConsumer implements Htt
     }
 
     public Object getResult() {
-        return this.completed;
+        return Boolean.valueOf(this.completed);
     }
 
     public Exception getException() {



Mime
View raw message