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-jcs.git
The following commit(s) were added to refs/heads/master by this push: new d4fcd380 Use better JUnit API d4fcd380 is described below commit d4fcd380ec7e91ed51d9baf4c6b0d87d1aeb3e8b Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Mar 22 16:36:09 2024 -0400 Use better JUnit API --- .../jcs/auxiliary/javagroups/JavaGroupsCacheTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/auxiliary-builds/javagroups/src/test/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCacheTest.java b/auxiliary-builds/javagroups/src/test/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCacheTest.java index 12c1ab0f..c9e6eb3b 100644 --- a/auxiliary-builds/javagroups/src/test/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCacheTest.java +++ b/auxiliary-builds/javagroups/src/test/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCacheTest.java @@ -77,7 +77,7 @@ public class JavaGroupsCacheTest extends TestCase Thread.sleep( 500 ); - assertEquals( null, two.get( "2") ); + assertNull( two.get( "2") ); // Remove all values @@ -85,11 +85,11 @@ public class JavaGroupsCacheTest extends TestCase Thread.sleep( 500 ); - assertEquals( null, two.get( "1" ) ); - assertEquals( null, two.get( "2" ) ); - assertEquals( null, two.get( "3" ) ); - assertEquals( null, two.get( "4" ) ); - assertEquals( null, two.get( "5" ) ); + assertNull( two.get( "1" ) ); + assertNull( two.get( "2" ) ); + assertNull( two.get( "3" ) ); + assertNull( two.get( "4" ) ); + assertNull( two.get( "5" ) ); // Free caches