hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCORE-259) inaccurate exception message at org.apache.http.protocol.ResponseContent.java line 60
Date Sat, 11 Jun 2011 11:23:58 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCORE-259.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.2

Fixed in SVN trunk and 4.1.x branch.

Oleg

> inaccurate exception message at org.apache.http.protocol.ResponseContent.java  line 60
> --------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-259
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-259
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.1
>            Reporter: Allen
>            Priority: Minor
>             Fix For: 4.1.2
>
>
> /*    */ public class ResponseContent
> /*    */   implements HttpResponseInterceptor
> /*    */ {
> /*    */   public void process(HttpResponse response, HttpContext context)
> /*    */     throws HttpException, IOException
> /*    */   {
> /* 59 */     if (response == null) {
> /* 60 */       throw new IllegalArgumentException("HTTP request may not be null");  //
"request" should be "response"
> /*    */     }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message