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 7119cc7 Fix compiler warnings, remove exceptions not thrown from method signatures. 7119cc7 is described below commit 7119cc723f36b756413f48983dd2b9fdaf21ad8e Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Thu Sep 3 11:40:18 2020 -0400 Fix compiler warnings, remove exceptions not thrown from method signatures. --- .../java/org/apache/commons/io/output/FileWriterWithEncodingTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/io/output/FileWriterWithEncodingTest.java b/src/test/java/org/apache/commons/io/output/FileWriterWithEncodingTest.java index 50b6b40..c121d00 100644 --- a/src/test/java/org/apache/commons/io/output/FileWriterWithEncodingTest.java +++ b/src/test/java/org/apache/commons/io/output/FileWriterWithEncodingTest.java @@ -192,7 +192,7 @@ public class FileWriterWithEncodingTest { //----------------------------------------------------------------------- @Test - public void constructor_File_nullFile() throws IOException { + public void constructor_File_nullFile() { assertThrows(NullPointerException.class, () -> { try ( Writer writer = new FileWriterWithEncoding((File) null, defaultEncoding); @@ -203,7 +203,7 @@ public class FileWriterWithEncodingTest { //----------------------------------------------------------------------- @Test - public void constructor_fileName_nullFile() throws IOException { + public void constructor_fileName_nullFile() { assertThrows(NullPointerException.class, () -> { try ( Writer writer = new FileWriterWithEncoding((String) null, defaultEncoding);