!836 cn.hutool.core.util.PrimitiveArrayUtil 注释错误

Merge pull request !836 from 高邮湖徐先生/v5-dev
This commit is contained in:
Looly 2022-10-13 09:42:41 +00:00 committed by Gitee
commit 9abe1073af
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2667,7 +2667,7 @@ public class PrimitiveArrayUtil {
return array;
}
// ---------------------------------------------------------------------- shuffle
// ---------------------------------------------------------------------- swap
/**
* 交换数组中两个位置的值
@ -2821,6 +2821,8 @@ public class PrimitiveArrayUtil {
return array;
}
// ---------------------------------------------------------------------- asc and desc
/**
* 检查数组是否升序即array[i] <= array[i+1]若传入空数组则返回false
*