You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/12/08 15:07:13 UTC
[commons-lang] branch master updated: More precise Javadoc.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 4e9ca08 More precise Javadoc.
4e9ca08 is described below
commit 4e9ca082a6550683a9107013980d0a288ca6bb84
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 8 10:07:09 2021 -0500
More precise Javadoc.
---
src/main/java/org/apache/commons/lang3/ArrayUtils.java | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/ArrayUtils.java b/src/main/java/org/apache/commons/lang3/ArrayUtils.java
index 20a309a..5012205 100644
--- a/src/main/java/org/apache/commons/lang3/ArrayUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ArrayUtils.java
@@ -9253,7 +9253,7 @@ public class ArrayUtils {
*
* @param array a {@code Boolean} array, may be {@code null}
* @return a {@code boolean} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static boolean[] toPrimitive(final Boolean[] array) {
if (array == null) {
@@ -9302,7 +9302,7 @@ public class ArrayUtils {
*
* @param array a {@code Byte} array, may be {@code null}
* @return a {@code byte} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static byte[] toPrimitive(final Byte[] array) {
if (array == null) {
@@ -9351,7 +9351,7 @@ public class ArrayUtils {
*
* @param array a {@code Character} array, may be {@code null}
* @return a {@code char} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static char[] toPrimitive(final Character[] array) {
if (array == null) {
@@ -9400,7 +9400,7 @@ public class ArrayUtils {
*
* @param array a {@code Double} array, may be {@code null}
* @return a {@code double} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static double[] toPrimitive(final Double[] array) {
if (array == null) {
@@ -9449,7 +9449,7 @@ public class ArrayUtils {
*
* @param array a {@code Float} array, may be {@code null}
* @return a {@code float} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static float[] toPrimitive(final Float[] array) {
if (array == null) {
@@ -9498,7 +9498,7 @@ public class ArrayUtils {
*
* @param array a {@code Integer} array, may be {@code null}
* @return an {@code int} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static int[] toPrimitive(final Integer[] array) {
if (array == null) {
@@ -9547,7 +9547,7 @@ public class ArrayUtils {
*
* @param array a {@code Long} array, may be {@code null}
* @return a {@code long} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static long[] toPrimitive(final Long[] array) {
if (array == null) {
@@ -9639,7 +9639,7 @@ public class ArrayUtils {
*
* @param array a {@code Short} array, may be {@code null}
* @return a {@code byte} array, {@code null} if null array input
- * @throws NullPointerException if array content is {@code null}
+ * @throws NullPointerException if an array element is {@code null}
*/
public static short[] toPrimitive(final Short[] array) {
if (array == null) {
@@ -9727,7 +9727,7 @@ public class ArrayUtils {
* @param array the {@code Object[]} to be processed, may be null
* @return {@code String[]} of the same size as the source with its element's string representation,
* {@code null} if null array input
- * @throws NullPointerException if array contains {@code null}
+ * @throws NullPointerException if an array element is {@code null}
* @since 3.6
*/
public static String[] toStringArray(final Object[] array) {