HTTPCLIENT-1627: RequestConfig#toString() produces unbalanced text

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1665994 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2015-03-11 20:27:17 +00:00
parent 6f70eca170
commit a319a25f4e
1 changed files with 2 additions and 1 deletions

View File

@ -325,7 +325,8 @@ public class RequestConfig implements Cloneable {
@Override
public String toString() {
final StringBuilder builder = new StringBuilder();
builder.append(", expectContinueEnabled=").append(expectContinueEnabled);
builder.append("[");
builder.append("expectContinueEnabled=").append(expectContinueEnabled);
builder.append(", proxy=").append(proxy);
builder.append(", localAddress=").append(localAddress);
builder.append(", cookieSpec=").append(cookieSpec);