mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
Merge branch 'chinabugotech:v6-dev' into v6-dev
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -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 {
|
||||||
|
@@ -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;
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user