Skip to content

Commit 16bf21f

Browse files
committed
Fixed copy-paste mistake in JavaDoc
setContentType() method JavaDoc mentions "Content-Encoding" header name, not "Content-Type". Contributed by Neeme Praks <neeme.praks at eesti.ee> git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1738245 13f79535-47bb-0310-9956-ffa450edef68
1 parent 647555c commit 16bf21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public boolean isChunked() {
109109
* The default implementation sets the value of the
110110
* {@link #contentType contentType} attribute.
111111
*
112-
* @param contentType the new Content-Encoding header, or
112+
* @param contentType the new Content-Type header, or
113113
* {@code null} to unset
114114
*/
115115
public void setContentType(final Header contentType) {

0 commit comments

Comments
 (0)