On 5 March 2013 15:46, Simone Tripodi <simonetrip...@apache.org> wrote: > Hi again Gergo, > > patch looks OK to me, the problem we would have ATM is the backward > compatibility, since there methods signature change. > > 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() { ... } etc. > TIA, > -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