From 0b11c6043467e9d06880a069bba68d90fbcbb018 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Sun, 11 Sep 2016 14:06:04 +0200 Subject: [PATCH] The behavior for empty arrays is documented in the @return JavaDoc tag of the method documentation. --- src/test/java/org/apache/commons/lang3/ClassUtilsTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java b/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java index 44fc96e45..e8f9eb0ea 100644 --- a/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java @@ -886,7 +886,6 @@ public void testPrimitivesToWrappers() { final Class[] castNull = ClassUtils.primitivesToWrappers((Class)null); // == new Class[]{null} assertTrue("(Class)null -> [null]", Arrays.equals(new Class[]{null}, castNull)); // test empty array is returned unchanged - // TODO this is not documented assertArrayEquals("empty -> empty", ArrayUtils.EMPTY_CLASS_ARRAY, ClassUtils.primitivesToWrappers(ArrayUtils.EMPTY_CLASS_ARRAY));