You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2016/04/08 15:50:03 UTC
svn commit: r1738245 -
/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java
Author: olegk
Date: Fri Apr 8 13:50:02 2016
New Revision: 1738245
URL: http://svn.apache.org/viewvc?rev=1738245&view=rev
Log:
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>
Modified:
httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java
Modified: httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java?rev=1738245&r1=1738244&r2=1738245&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java (original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java Fri Apr 8 13:50:02 2016
@@ -109,7 +109,7 @@ public abstract class AbstractHttpEntity
* The default implementation sets the value of the
* {@link #contentType contentType} attribute.
*
- * @param contentType the new Content-Encoding header, or
+ * @param contentType the new Content-Type header, or
* {@code null} to unset
*/
public void setContentType(final Header contentType) {