Merge branch 'chinabugotech:v6-dev' into v6-dev

This commit is contained in:
Toint
2025-05-31 06:54:52 +08:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ import java.util.concurrent.atomic.AtomicLong;
* *
* @since 4.1.11 * @since 4.1.11
*/ */
public class UUID implements java.io.Serializable, Comparable<UUID> { public final class UUID implements java.io.Serializable, Comparable<UUID> {
private static final long serialVersionUID = -1185015143654744140L; private static final long serialVersionUID = -1185015143654744140L;
/** /**

View File

@@ -46,7 +46,7 @@ import java.util.stream.Collectors;
* 日期时间工具类 * 日期时间工具类
* *
* @author Looly * @author Looly
* @see TimeUtil java8日工具类 * @see TimeUtil java8日工具类
* @see DateFormatPool 日期常用格式工具类 * @see DateFormatPool 日期常用格式工具类
*/ */
public class DateUtil { public class DateUtil {

View File

@@ -742,7 +742,7 @@ public class Money implements Serializable, Comparable<Money> {
final Money lowResult = newMoneyWithSameCurrency(cent / targets); final Money lowResult = newMoneyWithSameCurrency(cent / targets);
final Money highResult = newMoneyWithSameCurrency(lowResult.cent + 1); final Money highResult = newMoneyWithSameCurrency(lowResult.cent + 1);
final int remainder = (int) cent % targets; final int remainder = (int) (cent % targets);
for (int i = 0; i < remainder; i++) { for (int i = 0; i < remainder; i++) {
results[i] = highResult; results[i] = highResult;

View File

@@ -48,7 +48,7 @@ import java.util.Map;
* </ul> * </ul>
* *
* <p> * <p>
* 详细介绍见<a href="https://www.jianshu.com/p/576dbf44b2ae">https://www.jianshu.com/p/576dbf44b2ae</a> * 详细介绍见<a href="https://www.jianshu.com/p/576dbf44b2ae">https://www.jianshu.com/p/576dbf44b2ae</a>
* </p> * </p>
* *
* @author Looly * @author Looly