You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2013/02/13 10:55:28 UTC
svn commit: r1445523 -
/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileItemHeaders.java
Author: markt
Date: Wed Feb 13 09:55:27 2013
New Revision: 1445523
URL: http://svn.apache.org/r1445523
Log:
Correct Javadoc
Modified:
commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileItemHeaders.java
Modified: commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileItemHeaders.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileItemHeaders.java?rev=1445523&r1=1445522&r2=1445523&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileItemHeaders.java (original)
+++ commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileItemHeaders.java Wed Feb 13 09:55:27 2013
@@ -44,34 +44,29 @@ public interface FileItemHeaders {
/**
* <p>
* Returns all the values of the specified item header as an
- * <code>Enumeration</code> of <code>String</code> objects.
+ * <code>Iterator</code> of <code>String</code> objects.
* </p>
* <p>
* If the item did not include any headers of the specified name, this
- * method returns an empty <code>Enumeration</code>. The header name is
+ * method returns an empty <code>Iterator</code>. The header name is
* case insensitive.
* </p>
*
* @param name a <code>String</code> specifying the header name
- * @return an <code>Enumeration</code> containing the values of the
+ * @return an <code>Iterator</code> containing the values of the
* requested header. If the item does not have any headers of
- * that name, return an empty <code>Enumeration</code>
+ * that name, return an empty <code>Iterator</code>
*/
Iterator getHeaders(String name);
/**
* <p>
- * Returns an <code>Enumeration</code> of all the header names.
- * </p>
- * <p>
- * If the item did not include any headers of the specified name, this
- * method returns an empty <code>Enumeration</code>. The header name is
- * case insensitive.
+ * Returns an <code>Iterator</code> of all the header names.
* </p>
*
- * @return an <code>Enumeration</code> containing the values of the
- * requested header. If the item does not have any headers of
- * that name return an empty <code>Enumeration</code>
+ * @return an <code>Iterator</code> containing all of the names of
+ * headers provided with this file item. If the item does not have
+ * any headers return an empty <code>Iterator</code>
*/
Iterator getHeaderNames();
}