You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ma...@apache.org on 2004/02/01 05:55:09 UTC
cvs commit: jakarta-commons/fileupload/src/java/org/apache/commons/fileupload FileUpload.java
martinc 2004/01/31 20:55:09
Modified: fileupload/src/java/org/apache/commons/fileupload
FileUpload.java
Log:
Correct the comment for the no-args constructor to reflect the fact that
a factory needs to be set before parsing uploads.
PR: 23822
Submitted by: Lars Marius Garshol
Revision Changes Path
1.25 +7 -6 jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/FileUpload.java
Index: FileUpload.java
===================================================================
RCS file: /home/cvs/jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/FileUpload.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- FileUpload.java 9 Oct 2003 21:15:47 -0000 1.24
+++ FileUpload.java 1 Feb 2004 04:55:09 -0000 1.25
@@ -103,8 +103,9 @@
/**
- * Constructs an instance of this class which uses the default factory to
- * create <code>FileItem</code> instances.
+ * Constructs an uninitialised instance of this class. A factory must be
+ * configured, using <code>setFileItemFactory()</code>, before attempting
+ * to parse requests.
*
* @see #FileUpload(FileItemFactory)
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org