Discussion:
[jira] [Commented] (IO-588) IOUtils.writeLines() should accept an Iterable<>
Jochen Wiedmann
2018-10-31 13:39:23 UTC
Permalink
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@commons.apache.org
For additional commands, e-mail: dev-***@commons.apache.org
Gary Gregory
2018-10-31 14:01:43 UTC
Permalink
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
---------------------------------------------------------------------
Loading...