commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [fileupload] Uploading large files - DONE
Date Wed, 06 Mar 2013 09:14:27 GMT
On 6 March 2013 08:53, Simone Tripodi <simonetripodi@apache.org> wrote:
>>> Is there anybody that can suggest how to handle that situation?
>>
>> Create new methods which return long rather than int; deprecate the old methods.
>>
>> e.g.
>>
>> @Deprecated
>> public int getContentLength() { ... }
>>
>> /**
>> * @since x.x
>> */
>>
>> public long getLongContentLength() { ... }
>> or
>> public long getContentLengthLong() { ... }
>> or
>> public long longContentLength() { ... }
>
> that should be enough to bump to 1.3.0 since there are APIs addition -
> do you agree?

Yes, except it should be 1.3, not 1.3.0.
If a point release is then required, it is 1.3.1, but point releases
are fairly rare.

> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Mime
View raw message