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 0b1979a Add @SuppressWarnings. 0b1979a is described below commit 0b1979a45021e1df782340e9736b27c3ebc68382 Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Thu Aug 8 09:46:29 2019 -0400 Add @SuppressWarnings. --- src/main/java/org/apache/commons/io/output/XmlStreamWriter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java b/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java index 28fa6ac..c6ce13f 100644 --- a/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java +++ b/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java @@ -93,6 +93,7 @@ public class XmlStreamWriter extends Writer { * @throws FileNotFoundException if there is an error creating or * opening the file */ + @SuppressWarnings("resource") public XmlStreamWriter(final File file, final String defaultEncoding) throws FileNotFoundException { this(new FileOutputStream(file), defaultEncoding); }