hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1665994 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
Date Wed, 11 Mar 2015 20:27:18 GMT
Author: olegk
Date: Wed Mar 11 20:27:17 2015
New Revision: 1665994

URL: http://svn.apache.org/r1665994
Log:
HTTPCLIENT-1627: RequestConfig#toString() produces unbalanced text

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java?rev=1665994&r1=1665993&r2=1665994&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
Wed Mar 11 20:27:17 2015
@@ -325,7 +325,8 @@ public class RequestConfig implements Cl
     @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);



Mime
View raw message