Hi,

Am 06.03.2013 um 12:51 schrieb Benedikt Ritter:

> 2013/3/6 sebb <seb...@gmail.com>
> 
>> On 6 March 2013 08:53, Simone Tripodi <simonetrip...@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.
>> 
> 
> Having OSGi this may not be the best convention, as OSGi requires version
> numbers to have 3 digits.

Not really, 1.3 is a perfectly valid OSGi version, too. Actually, even 1 is a 
valid version (according to the OSGi Syntax)

Regards
Felix

> 
> Benedikt
> 
> 
>> 
>>> -Simo
>>> 
>>> http://people.apache.org/~simonetripodi/
>>> http://simonetripodi.livejournal.com/
>>> http://twitter.com/simonetripodi
>>> http://www.99soft.org/
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>> 
>> 
> 
> 
> -- 
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter


--
Felix Meschberger | Principal Scientist | Adobe








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

Reply via email to