Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06F4C200B7F for ; Sun, 11 Sep 2016 14:06:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 05746160AC7; Sun, 11 Sep 2016 12:06:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4CC38160AAA for ; Sun, 11 Sep 2016 14:06:39 +0200 (CEST) Received: (qmail 44308 invoked by uid 500); 11 Sep 2016 12:06:38 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 44299 invoked by uid 99); 11 Sep 2016 12:06:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2016 12:06:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 42F2FE03C0; Sun, 11 Sep 2016 12:06:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: britter@apache.org To: commits@commons.apache.org Message-Id: <3baa78c3382e4c09bf9178eb5948f755@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [lang] The behavior for empty arrays is documented in the @return JavaDoc tag of the method documentation. Date: Sun, 11 Sep 2016 12:06:38 +0000 (UTC) archived-at: Sun, 11 Sep 2016 12:06:40 -0000 Repository: commons-lang Updated Branches: refs/heads/master d53d0419f -> 0b11c6043 The behavior for empty arrays is documented in the @return JavaDoc tag of the method documentation. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/0b11c604 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/0b11c604 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/0b11c604 Branch: refs/heads/master Commit: 0b11c6043467e9d06880a069bba68d90fbcbb018 Parents: d53d041 Author: Benedikt Ritter Authored: Sun Sep 11 14:06:04 2016 +0200 Committer: Benedikt Ritter Committed: Sun Sep 11 14:06:04 2016 +0200 ---------------------------------------------------------------------- src/test/java/org/apache/commons/lang3/ClassUtilsTest.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/0b11c604/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java b/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java index 44fc96e..e8f9eb0 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 class ClassUtilsTest { 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));