You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2021/11/01 08:52:58 UTC

[GitHub] [httpcomponents-client] michael-o commented on a change in pull request #320: HTTPCLIENT-2065 - Simplify additon of content type parameters in MultipartEntityBuilder

michael-o commented on a change in pull request #320:
URL: https://github.com/apache/httpcomponents-client/pull/320#discussion_r740046683



##########
File path: httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java
##########
@@ -112,6 +112,17 @@ public MultipartEntityBuilder setContentType(final ContentType contentType) {
         this.contentType = contentType;
         return this;
     }
+    /**
+     *  Add parameter to the current {@link ContentType}.
+     *
+     * @param parameter The name-value pair parameter to add to the {@link ContentType}.
+     * @return the {@link MultipartEntityBuilder} instance.
+     * @since 5.2
+     */
+    public MultipartEntityBuilder addParameter(final BasicNameValuePair parameter){

Review comment:
       Space missing: `){`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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