commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [jira] [Commented] (IO-588) IOUtils.writeLines() should accept an Iterable<>
Date Wed, 31 Oct 2018 14:01:43 GMT
On Wed, Oct 31, 2018 at 7:39 AM Jochen Wiedmann <jochen.wiedmann@gmail.com>
wrote:

> On Fri, Oct 12, 2018 at 6:06 PM Gary Gregory (JIRA) <jira@apache.org>
> wrote:
>
> > Thank you for your patch but... -1 to this patch as it breaks binary
> compatibility.
>
> Could you explain that, please? A Collection is, in particular, an
> Iterable, thus the compiler should use the new methods, instead, as
> far as I can tell.
>

You are talking about _source_ compatibility. Binary compatibility should
allow a new jar to replace the old one, this change breaks that capability.

Gary

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

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