We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3344bf3 commit bdb6bb2Copy full SHA for bdb6bb2
src/main/java/org/apache/commons/collections4/functors/FunctorUtils.java
@@ -30,6 +30,13 @@
30
*/
31
final class FunctorUtils {
32
33
+ /**
34
+ * Clones the given array or returns null on null input.
35
+ *
36
+ * @param <T> The array type.
37
+ * @param array The array to clone.
38
+ * @return The cloned array or null.
39
+ */
40
private static <T> T[] clone(final T... array) {
41
return array != null ? array.clone() : null;
42
}
0 commit comments