You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2017/03/26 02:08:02 UTC
svn commit: r1788702 -
/httpcomponents/httpclient/branches/4.6.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
Author: ggregory
Date: Sun Mar 26 02:08:01 2017
New Revision: 1788702
URL: http://svn.apache.org/viewvc?rev=1788702&view=rev
Log:
Use final.
Modified:
httpcomponents/httpclient/branches/4.6.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
Modified: httpcomponents/httpclient/branches/4.6.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.6.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java?rev=1788702&r1=1788701&r2=1788702&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.6.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java (original)
+++ httpcomponents/httpclient/branches/4.6.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java Sun Mar 26 02:08:01 2017
@@ -353,7 +353,7 @@ public class Request {
public Request bodyForm(final Iterable <? extends NameValuePair> formParams, final Charset charset) {
final List<NameValuePair> paramList = new ArrayList<NameValuePair>();
- for (NameValuePair param : formParams) {
+ for (final NameValuePair param : formParams) {
paramList.add(param);
}
final ContentType contentType = ContentType.create(URLEncodedUtils.CONTENT_TYPE, charset);