mirror of
https://gitee.com/dromara/hutool.git
synced 2026-02-09 09:16:26 +08:00
ColorUtil颜色名称DARKGOLD、LIGHTGOLD新增蛇形命名匹配(pr#1400@Github)
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
|
||||
# 🚀Changelog
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.43
|
||||
# 5.8.43(2025-12-01)
|
||||
|
||||
### 🐣新特性
|
||||
* 【core 】 `ColorUtil`颜色名称DARKGOLD、LIGHTGOLD新增蛇形命名匹配(pr#1400@Github)
|
||||
### 🐞Bug修复
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.42(2025-11-28)
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ public class ColorUtil {
|
||||
final Integer r = Convert.toInt(rgb.get(0));
|
||||
final Integer g = Convert.toInt(rgb.get(1));
|
||||
final Integer b = Convert.toInt(rgb.get(2));
|
||||
if (false == ArrayUtil.hasNull(r, g, b)) {
|
||||
if (!ArrayUtil.hasNull(r, g, b)) {
|
||||
return new Color(r, g, b);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user