hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry West (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1627) RequestConfig.toString() produces unbalanced text
Date Tue, 03 Mar 2015 00:57:04 GMT
Larry West created HTTPCLIENT-1627:

             Summary: RequestConfig.toString() produces unbalanced text
                 Key: HTTPCLIENT-1627
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1627
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient
    Affects Versions: 4.3.6
            Reporter: Larry West
            Priority: Trivial

RequestConfig's toString() method begins its String with a ",":

        final StringBuilder builder = new StringBuilder();
        builder.append(", expectContinueEnabled=").append(expectContinueEnabled);

and ends with an unbalanced "]".  I see no indication this is intended.

Proposed fix: change second line above to:

        builder.append("RequestConfig: expectContinueEnabled=").append(expectContinueEnabled);

This message was sent by Atlassian JIRA

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

View raw message