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
commit f7ed889405ba862467a01634561caf540ed70a1f Author: Gary Gregory <[email protected]> AuthorDate: Thu Apr 25 08:28:44 2024 -0400 No need to qualify method in the same class - Javadoc - PMD version: 7.0.0 --- .../java/org/apache/commons/lang3/ArrayUtils.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/ArrayUtils.java b/src/main/java/org/apache/commons/lang3/ArrayUtils.java index 5d336e463..c3aec86b4 100644 --- a/src/main/java/org/apache/commons/lang3/ArrayUtils.java +++ b/src/main/java/org/apache/commons/lang3/ArrayUtils.java @@ -2763,7 +2763,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -2803,7 +2803,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -2843,7 +2843,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -2883,7 +2883,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -2923,7 +2923,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -2963,7 +2963,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -3003,7 +3003,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -3043,7 +3043,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -3092,7 +3092,7 @@ public class ArrayUtils { if (array == null) { return null; } - if (ArrayUtils.isEmpty(values)) { + if (isEmpty(values)) { return clone(array); } if (index < 0 || index > array.length) { @@ -8705,8 +8705,8 @@ public class ArrayUtils { * For example, an array of Strings can be created: * </p> * <pre> - String[] array = ArrayUtils.toArray("1", "2"); - String[] emptyArray = ArrayUtils.<String>toArray(); + * String[] array = ArrayUtils.toArray("1", "2"); + * String[] emptyArray = ArrayUtils.<String>toArray(); * </pre> * <p> * The method is typically used in scenarios, where the caller itself uses generic types
