This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 7ecad91 Add @SuppressWarnings("resource") with a comment. 7ecad91 is described below commit 7ecad919c0c9d3f8221a113b7520df227a701edf Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Thu Aug 20 16:42:11 2020 -0400 Add @SuppressWarnings("resource") with a comment. --- src/main/java/org/apache/commons/io/IOUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/commons/io/IOUtils.java b/src/main/java/org/apache/commons/io/IOUtils.java index 1591e50..0f8c4e1 100644 --- a/src/main/java/org/apache/commons/io/IOUtils.java +++ b/src/main/java/org/apache/commons/io/IOUtils.java @@ -1812,6 +1812,7 @@ public class IOUtils { * @throws IOException if an I/O error occurs * @since 1.1 */ + @SuppressWarnings("resource") // reader wraps input and is the responsibility of the caller. public static List<String> readLines(final Reader input) throws IOException { final BufferedReader reader = toBufferedReader(input); final List<String> list = new ArrayList<>();