Skip to content

Commit

Permalink
Patch a class previously missed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjust committed Sep 6, 2024
1 parent e0fc7ee commit 1695e50
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions framework/projects/Collections/compile-errors/compile-18-18.diff
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@ index 1532cb14..96654243 100644
Collection<V> valuesForKey = getCollection(key);
if (valuesForKey == null) {
return null;
diff --git a/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java
index bcc4a1be..b27899a9 100644
--- a/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java
+++ b/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java
@@ -1076,7 +1076,7 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
verify();

try {
- array = getCollection().toArray(null);
+ array = getCollection().toArray((Object[])null);
fail("toArray(null) should raise NPE");
} catch (NullPointerException e) {
// expected
diff --git a/src/test/java/org/apache/commons/collections/map/TestMultiKeyMap.java b/src/test/java/org/apache/commons/collections/map/TestMultiKeyMap.java
index 66e7477f..fa4d4e2e 100644
--- a/src/test/java/org/apache/commons/collections/map/TestMultiKeyMap.java
Expand Down

0 comments on commit 1695e50

Please sign in to comment.