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] (HTTPCLIENT-1399) NPE in org.apache.http.client.methods.RequestBuilder line 237
Date Mon, 16 Sep 2013 13:32:53 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-1399.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.3.1

Fixed in SVN trunk. Please review / re-test.

Oleg
                
> NPE in org.apache.http.client.methods.RequestBuilder line 237
> -------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1399
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1399
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3 Final
>            Reporter: wangzhenghang
>             Fix For: 4.3.1
>
>
>     public RequestBuilder setHeader(final String name, final String value) {
>         if (headergroup != null) {
>             headergroup = new HeaderGroup();
>         }
>         this.headergroup.updateHeader(new BasicHeader(name, value));
>         return this;
>     }
> Obviously it was a copy-paste error. "headergroup != null" should be "headergroup ==
null"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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