From 82e7f0191e98e4ccad1a8f4112209b69f2ea08ca Mon Sep 17 00:00:00 2001 From: dota17 Date: Tue, 28 Apr 2020 20:42:01 +0800 Subject: [PATCH] Fixed the ci failure. --- .../commons/collections4/properties/EmptyPropertiesTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java b/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java index 7eadf3a5db..30b194b517 100644 --- a/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java +++ b/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java @@ -91,7 +91,7 @@ public void testEquals() { Assert.assertEquals(PropertiesFactory.EMPTY_PROPERTIES, PropertiesFactory.EMPTY_PROPERTIES); Assert.assertEquals(PropertiesFactory.EMPTY_PROPERTIES, new Properties()); Assert.assertEquals(new Properties(), PropertiesFactory.EMPTY_PROPERTIES); - Assert.assertNull(PropertiesFactory.EMPTY_PROPERTIES); + Assert.assertFalse(PropertiesFactory.EMPTY_PROPERTIES.equals(null)); final Properties p = new Properties(); p.put("Key", "Value"); Assert.assertFalse(PropertiesFactory.EMPTY_PROPERTIES.equals(p));