fix commeent

This commit is contained in:
Looly 2021-10-26 01:12:32 +08:00
parent 7abb318e31
commit f88e7ab2f3
2 changed files with 8 additions and 7 deletions

View File

@ -10,6 +10,7 @@
* 【core 】 CharSequenceUtil增加normalize方法pr#444@Gitee
* 【core 】 MailAccount增加setEncodefilename()方法可选是否编码附件的文件名issue#I4F160@Gitee
* 【core 】 MailAccount中charset增加null时的默认规则
* 【core 】 NumberUtil.compare修正注释说明issue#I4FAJ1@Gitee
### 🐞Bug修复

View File

@ -1675,12 +1675,12 @@ public class NumberUtil {
*
* @param x 第一个值
* @param y 第二个值
* @return x==y返回0x<y返回-1x>y返回1
* @return x==y返回0x<y返回小于0的数x>y返回大于0的数
* @see Character#compare(char, char)
* @since 3.0.1
*/
public static int compare(char x, char y) {
return x - y;
return Character.compare(x, y);
}
/**
@ -1688,7 +1688,7 @@ public class NumberUtil {
*
* @param x 第一个值
* @param y 第二个值
* @return x==y返回0x<y返回-1x>y返回1
* @return x==y返回0x<y返回小于0的数x>y返回大于0的数
* @see Double#compare(double, double)
* @since 3.0.1
*/
@ -1701,7 +1701,7 @@ public class NumberUtil {
*
* @param x 第一个值
* @param y 第二个值
* @return x==y返回0x<y返回-1x>y返回1
* @return x==y返回0x<y返回小于0的数x>y返回大于0的数
* @see Integer#compare(int, int)
* @since 3.0.1
*/
@ -1714,7 +1714,7 @@ public class NumberUtil {
*
* @param x 第一个值
* @param y 第二个值
* @return x==y返回0x<y返回-1x>y返回1
* @return x==y返回0x<y返回小于0的数x>y返回大于0的数
* @see Long#compare(long, long)
* @since 3.0.1
*/
@ -1727,7 +1727,7 @@ public class NumberUtil {
*
* @param x 第一个值
* @param y 第二个值
* @return x==y返回0x<y返回-1x>y返回1
* @return x==y返回0x<y返回小于0的数x>y返回大于0的数
* @see Short#compare(short, short)
* @since 3.0.1
*/
@ -1754,7 +1754,7 @@ public class NumberUtil {
* @param bigNum1 数字1
* @param bigNum2 数字2
* @return 是否大于
* @since 3, 0.9
* @since 3.0.9
*/
public static boolean isGreater(BigDecimal bigNum1, BigDecimal bigNum2) {
Assert.notNull(bigNum1);