commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: [QUESTION] Is switching from array parameter to varargs binary compatible?
Date Mon, 05 May 2014 18:59:55 GMT
Sorry, but the two parts of your argument seem to be contrary :-)

2014-05-05 20:29 GMT+02:00 Gary Gregory <garydgregory@gmail.com>:

> It's hard to believe this would not break BC since a ... arg decl is really
> an array.
>
> Gary
>
>
> On Mon, May 5, 2014 at 1:40 PM, Benedikt Ritter <britter@apache.org>
> wrote:
>
> > Hi,
> >
> > we have a pull request at github for [lang] which proposes to introduce
> new
> > methods in NumberUtils that take varargs as input parameters instead of
> > arrays [1]. I think a better solution would be to change those old
> methods
> > to use varargs instead of introducing new methods. Since I'm not sure how
> > this affects binary compatibility, I'd like to here what others thing
> about
> > this.
> >
> > Clirr doesn't even create an info for a change like this, so I'm assuming
> > it can be changed without affecting clients.
> >
> > Benedikt
> >
> >
> > [1] https://github.com/apache/commons-lang/pull/23
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
> >
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition<
> http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message