mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -1394,8 +1394,7 @@ public class ArrayUtil extends PrimitiveArrayUtil {
|
|||||||
* @return 最小值
|
* @return 最小值
|
||||||
* @since 3.0.9
|
* @since 3.0.9
|
||||||
*/
|
*/
|
||||||
@SafeVarargs
|
public static <T extends Comparable<? super T>> T min(final T[] numberArray) {
|
||||||
public static <T extends Comparable<? super T>> T min(final T... numberArray) {
|
|
||||||
return min(numberArray, null);
|
return min(numberArray, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1429,8 +1428,7 @@ public class ArrayUtil extends PrimitiveArrayUtil {
|
|||||||
* @return 最大值
|
* @return 最大值
|
||||||
* @since 3.0.9
|
* @since 3.0.9
|
||||||
*/
|
*/
|
||||||
@SafeVarargs
|
public static <T extends Comparable<? super T>> T max(final T[] numberArray) {
|
||||||
public static <T extends Comparable<? super T>> T max(final T... numberArray) {
|
|
||||||
return max(numberArray, null);
|
return max(numberArray, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user