You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by James Riordan <ja...@gmail.com> on 2007/07/17 15:53:55 UTC

org.apache.commons.fileupload.MultipartStream constructors

Should it be the case that all of the public constructors of
org.apache.commons.fileupload.MultipartStream are marked are marked

@deprecated Use {@link #MultipartStream(InputStream, byte[], int,
org.apache.commons.fileupload.MultipartStream.ProgressNotifier)}.

(which is not public)

  // Constructors
  public MultipartStream();
  public MultipartStream(InputStream, byte[], int);
  MultipartStream(InputStream, byte[], int, MultipartStream$ProgressNotifier);
  MultipartStream(InputStream, byte[], MultipartStream$ProgressNotifier);
  public MultipartStream(InputStream, byte[]);

James

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: org.apache.commons.fileupload.MultipartStream constructors

Posted by Martin Cooper <ma...@apache.org>.
On 7/17/07, James Riordan <ja...@gmail.com> wrote:
>
> Should it be the case that all of the public constructors of
> org.apache.commons.fileupload.MultipartStream are marked are marked
>
> @deprecated Use {@link #MultipartStream(InputStream, byte[], int,
> org.apache.commons.fileupload.MultipartStream.ProgressNotifier)}.
>
> (which is not public)


The class itself should _not_ be considered part of the public API for
Commons FileUpload. It is intended to be an internal implementation detail.
That was a mistake that we need to rectify.

--
Martin Cooper


  // Constructors
>   public MultipartStream();
>   public MultipartStream(InputStream, byte[], int);
>   MultipartStream(InputStream, byte[], int,
> MultipartStream$ProgressNotifier);
>   MultipartStream(InputStream, byte[], MultipartStream$ProgressNotifier);
>   public MultipartStream(InputStream, byte[]);
>
> James
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>