hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1738245 - /httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java
Date Fri, 08 Apr 2016 13:50:03 GMT
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) {



Mime
View raw message