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-csv.git
The following commit(s) were added to refs/heads/master by this push: new 2700513c Unnecessary @SuppressWarnings("resource") 2700513c is described below commit 2700513c0f82c216eec606336a3ff31709f345eb Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Jul 15 14:51:23 2024 -0400 Unnecessary @SuppressWarnings("resource") --- src/main/java/org/apache/commons/csv/CSVFormat.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index af5c02cb..580b4620 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -2065,7 +2065,6 @@ public final class CSVFormat implements Serializable { * @throws IOException thrown if the optional header cannot be printed. * @since 1.5 */ - @SuppressWarnings("resource") public CSVPrinter print(final File out, final Charset charset) throws IOException { return print(out.toPath(), charset); }