This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/release by this push: new 7739bb0 Class under test is deprecated 7739bb0 is described below commit 7739bb0de2d14276987a1a16baf8caf65d8028bd Author: Sebb <s...@apache.org> AuthorDate: Thu Jul 30 12:18:50 2020 +0100 Class under test is deprecated --- src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java b/src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java index 07ef715..b07742f 100644 --- a/src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java +++ b/src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java @@ -36,11 +36,11 @@ import org.junit.jupiter.api.Test; * This is used to test FileSystemUtils. * */ +@SuppressWarnings("deprecation") // testing deprecated class public class FileSystemUtilsTestCase { //----------------------------------------------------------------------- @Test - @SuppressWarnings("deprecation") // testing decrecated code public void testGetFreeSpace_String() throws Exception { // test coverage, as we can't check value if (File.separatorChar == '/') {