From c74630656f1e0232c45725c126d9c8dc97aabe44 Mon Sep 17 00:00:00 2001 From: Harald Kuhr Date: Sun, 26 Aug 2018 10:35:53 +0200 Subject: [PATCH] Removed a deprecated method. --- .../java/com/twelvemonkeys/util/CollectionAbstractTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common-lang/src/test/java/com/twelvemonkeys/util/CollectionAbstractTest.java b/common/common-lang/src/test/java/com/twelvemonkeys/util/CollectionAbstractTest.java index e2f08d86..85ee6b8a 100755 --- a/common/common-lang/src/test/java/com/twelvemonkeys/util/CollectionAbstractTest.java +++ b/common/common-lang/src/test/java/com/twelvemonkeys/util/CollectionAbstractTest.java @@ -1122,7 +1122,7 @@ public abstract class CollectionAbstractTest extends ObjectAbstractTest { resetEmpty(); Object[] a = new Object[] { new Object(), null, null }; Object[] array = collection.toArray(a); - assertEquals("Given array shouldn't shrink", array, a); + assertArrayEquals("Given array shouldn't shrink", array, a); assertEquals("Last element should be set to null", a[0], null); verifyAll();