[ 
https://issues.apache.org/jira/browse/FILEUPLOAD-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simone Tripodi updated FILEUPLOAD-158:
--------------------------------------

    Fix Version/s:     (was: 1.3)
                   1.2.2
    
> MultipartStream javadoc example cannot be compiled
> --------------------------------------------------
>
>                 Key: FILEUPLOAD-158
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-158
>             Project: Commons FileUpload
>          Issue Type: Bug
>            Reporter: Stepan Koltsov
>            Assignee: Jochen Wiedmann
>             Fix For: 1.2.2
>
>
> {code}
>         MultipartStream multipartStream = new MultipartStream(input,
>                                                               boundary);
>         boolean nextPart = multipartStream.skipPreamble();
>         OutputStream output;
>         while(nextPart) {
>             header = chunks.readHeader();
>             // process headers
>             // create some output stream
>             multipartStream.readBodyPart(output);
>             nextPart = multipartStream.readBoundary();
>         }
> {code}
> "chunks" means "multipartStream"?
> "readHeader" means "readHeaders"?
> header variable should be declared
> "readBodyPart" means "readBodyData"?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to