mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
修复fillColumns空指针问题
This commit is contained in:
parent
9ba8f9ca5d
commit
268541c5a5
@ -27,6 +27,7 @@
|
||||
* 【core 】 修复CombinationAnnotationElement判断循环问题(pr#3267@Github)
|
||||
* 【core 】 修复StrUtil#containsAny NPE问题(pr#1063@Gitee)
|
||||
* 【all 】 修复SONArray的add()方法抛出OutOfMemory异常问题(issue#3286@Github)
|
||||
* 【core 】 修复fillColumns空指针问题(issue#3284@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.21(2023-07-29)
|
||||
|
@ -97,7 +97,7 @@ public class ConsoleTable {
|
||||
*/
|
||||
private void fillColumns(List<String> l, String[] columns) {
|
||||
for (int i = 0; i < columns.length; i++) {
|
||||
String column = columns[i];
|
||||
String column = StrUtil.toString(columns[i]);
|
||||
if (isSBCMode) {
|
||||
column = Convert.toSBC(column);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user