re-import sources as agreed with the maintainer
This commit is contained in:
parent
3125cc4bd8
commit
ad8ac18f77
13
0001-Port-to-Java-11.patch
Normal file
13
0001-Port-to-Java-11.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java b/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java
|
||||||
|
index dfde362..00c5d26 100644
|
||||||
|
--- a/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java
|
||||||
|
+++ b/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java
|
||||||
|
@@ -1116,7 +1116,7 @@ public abstract class AbstractTestCollection extends AbstractTestObject {
|
||||||
|
verify();
|
||||||
|
|
||||||
|
try {
|
||||||
|
- array = collection.toArray(null);
|
||||||
|
+ array = collection.toArray((Object[])null);
|
||||||
|
fail("toArray(null) should raise NPE");
|
||||||
|
} catch (NullPointerException e) {
|
||||||
|
// expected
|
Loading…
Reference in New Issue
Block a user