You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jochen Wiedmann (JIRA)" <ji...@apache.org> on 2009/01/18 03:06:59 UTC

[jira] Resolved: (FILEUPLOAD-156) MultipartStream constructor requires package access to avoid deprecation warnings

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

Jochen Wiedmann resolved FILEUPLOAD-156.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Jochen Wiedmann

It is, of course, a design error, that a ProgressNotifier is required. The class is now public, additionally a null value may be supplied.


> MultipartStream constructor requires package access to avoid deprecation warnings
> ---------------------------------------------------------------------------------
>
>                 Key: FILEUPLOAD-156
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-156
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>         Environment: All
>            Reporter: F. Andy Seidl
>            Assignee: Jochen Wiedmann
>            Priority: Minor
>             Fix For: 1.3
>
>
> All of the MulitipartStream constructor signatures are deprecated except one that requires a org.apache.commons.fileupload.MultipartStream.ProgressNotifier parameter.  However, the ProgressNotifier class has package access.  Thus, it is impossible for an application to make use of the MultipartStream class without using a deprecated constructor.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.