You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Georgi Chulkov <g....@iu-bremen.de> on 2007/02/23 16:56:10 UTC

Java 1.5?

Hello,

Are there plans to convert the FileUpload code to Java 1.5-style syntax,
i.e.:

public List<FileItem> parseRequest(HttpServletRequest request)

instead of the current:

public List parseRequest(HttpServletRequest request)

Thank you in advance,

Georgi


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


Re: Java 1.5?

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 2/23/07, Georgi Chulkov <g....@iu-bremen.de> wrote:

> Are there plans to convert the FileUpload code to Java 1.5-style syntax,
> i.e.:
>
> public List<FileItem> parseRequest(HttpServletRequest request)
>
> instead of the current:
>
> public List parseRequest(HttpServletRequest request)

Unless the majority of the commons projects moves on to Java 1.5: No.

The API of commons-fileupload is so small, that it isn't too much of a
win to have the signature changed. Loosing portability to 1.2, 1.3 and
1.4 is much to loose, though.


Jochen


-- 
Emacs 22 will support MacOS and CygWin. It is not yet decided, whether
these will be used to run Emacs or the other way round.

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