Deprecated misspelled method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f798204f68
commit
d1da745d03
|
@ -106,8 +106,18 @@ public class MultipartEntityBuilder {
|
|||
|
||||
/**
|
||||
* @since 4.4
|
||||
*
|
||||
* @deprecated (4.5) Use {@link #setContentType(org.apache.http.entity.ContentType)}.
|
||||
*/
|
||||
@Deprecated
|
||||
public MultipartEntityBuilder seContentType(final ContentType contentType) {
|
||||
return setContentType(contentType);
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.5
|
||||
*/
|
||||
public MultipartEntityBuilder setContentType(final ContentType contentType) {
|
||||
Args.notNull(contentType, "Content type");
|
||||
this.contentType = contentType;
|
||||
return this;
|
||||
|
|
Loading…
Reference in New Issue