hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1621226 - in /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http: message/HeaderGroup.java util/EntityUtils.java
Date Thu, 28 Aug 2014 23:14:58 GMT
Author: sebb
Date: Thu Aug 28 23:14:57 2014
New Revision: 1621226

URL: http://svn.apache.org/r1621226
Log:
Javadoc8 fixes

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/EntityUtils.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java?rev=1621226&r1=1621225&r2=1621226&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
Thu Aug 28 23:14:57 2014
@@ -170,7 +170,7 @@ public class HeaderGroup implements Clon
      *
      * @param name the name of the header(s) to get
      *
-     * @return an array of length >= 0
+     * @return an array of length ≥ 0
      */
     public Header[] getHeaders(final String name) {
         final List<Header> headersFound = new ArrayList<Header>();
@@ -231,7 +231,7 @@ public class HeaderGroup implements Clon
     /**
      * Gets all of the headers contained within this group.
      *
-     * @return an array of length >= 0
+     * @return an array of length &ge; 0
      */
     public Header[] getAllHeaders() {
         return headers.toArray(new Header[headers.size()]);

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/EntityUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/EntityUtils.java?rev=1621226&r1=1621225&r2=1621226&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/EntityUtils.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/EntityUtils.java
Thu Aug 28 23:14:57 2014
@@ -115,7 +115,7 @@ public final class EntityUtils {
      * @return byte array containing the entity content. May be null if
      *   {@link HttpEntity#getContent()} is null.
      * @throws IOException if an error occurs reading the input stream
-     * @throws IllegalArgumentException if entity is null or if content length > Integer.MAX_VALUE
+     * @throws IllegalArgumentException if entity is null or if content length &gt; Integer.MAX_VALUE
      */
     public static byte[] toByteArray(final HttpEntity entity) throws IOException {
         Args.notNull(entity, "Entity");
@@ -204,7 +204,7 @@ public final class EntityUtils {
      * @return the entity content as a String. May be null if
      *   {@link HttpEntity#getContent()} is null.
      * @throws ParseException if header elements cannot be parsed
-     * @throws IllegalArgumentException if entity is null or if content length > Integer.MAX_VALUE
+     * @throws IllegalArgumentException if entity is null or if content length &gt; Integer.MAX_VALUE
      * @throws IOException if an error occurs reading the input stream
      * @throws UnsupportedCharsetException Thrown when the named entity's charset is not
available in
      * this instance of the Java virtual machine and no defaultCharset is provided.
@@ -263,7 +263,7 @@ public final class EntityUtils {
      * @return the entity content as a String. May be null if
      *   {@link HttpEntity#getContent()} is null.
      * @throws ParseException if header elements cannot be parsed
-     * @throws IllegalArgumentException if entity is null or if content length > Integer.MAX_VALUE
+     * @throws IllegalArgumentException if entity is null or if content length &gt; Integer.MAX_VALUE
      * @throws IOException if an error occurs reading the input stream
      * @throws UnsupportedCharsetException Thrown when the named charset is not available
in
      * this instance of the Java virtual machine
@@ -281,7 +281,7 @@ public final class EntityUtils {
      * @param entity the entity to convert to a string; must not be null
      * @return String containing the content.
      * @throws ParseException if header elements cannot be parsed
-     * @throws IllegalArgumentException if entity is null or if content length > Integer.MAX_VALUE
+     * @throws IllegalArgumentException if entity is null or if content length &gt; Integer.MAX_VALUE
      * @throws IOException if an error occurs reading the input stream
      * @throws UnsupportedCharsetException Thrown when the named charset is not available
in
      * this instance of the Java virtual machine



Mime
View raw message