You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/06/20 13:37:00 UTC
[jira] [Closed] (IO-588) IOUtils.writeLines() should accept an Iterable<>
[ https://issues.apache.org/jira/browse/IO-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed IO-588.
------------------------------
Resolution: Fixed
Java already contains:
* java.nio.file.Files.write(Path, Iterable<? extends CharSequence>, Charset, OpenOption...)
* java.nio.file.Files.write(Path, Iterable<? extends CharSequence>, OpenOption...)
> IOUtils.writeLines() should accept an Iterable<>
> ------------------------------------------------
>
> Key: IO-588
> URL: https://issues.apache.org/jira/browse/IO-588
> Project: Commons IO
> Issue Type: Improvement
> Components: Utilities
> Affects Versions: 2.6
> Reporter: Laurent Martelli
> Priority: Minor
> Attachments: ioutils.diff
>
>
> IOUtils.writeLines() methods should accept an Iterable<> instead of a Collection<>, since it does not use any method of Collection.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)