hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1665990 - /httpcomponents/httpclient/branches/4.4.x/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
Date Wed, 11 Mar 2015 20:19:44 GMT
Author: olegk
Date: Wed Mar 11 20:19:43 2015
New Revision: 1665990

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

Modified:
    httpcomponents/httpclient/branches/4.4.x/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java

Modified: httpcomponents/httpclient/branches/4.4.x/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.4.x/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java?rev=1665990&r1=1665989&r2=1665990&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.4.x/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
(original)
+++ httpcomponents/httpclient/branches/4.4.x/httpclient/src/main/java/org/apache/http/client/config/RequestConfig.java
Wed Mar 11 20:19:43 2015
@@ -318,7 +318,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