ColorUtil颜色名称DARKGOLD、LIGHTGOLD新增蛇形命名匹配(pr#1400@Github)

This commit is contained in:
Looly
2025-12-01 21:57:31 +08:00
parent 0db075d34f
commit 1ee9e0759c
2 changed files with 5 additions and 2 deletions

View File

@@ -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)

View File

@@ -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 {