修改方法名。

This commit is contained in:
2024-10-12 00:21:19 +08:00
parent 6eb5ada623
commit 979ff1760f
3 changed files with 21 additions and 14 deletions

View File

@@ -179,7 +179,7 @@ public class ArrayTools {
* @throws IllegalArgumentException 当参数为空时抛出
*/
public static <T> boolean isAllElementsNotNull(@Nonnull final T[] arr) {
AssertTools.checkParameter(arr != null, "The array cannot be null.");
AssertTools.checkArgument(arr != null, "The array cannot be null.");
for (T element : arr) {
if (element == null) {
return false;