修复fillColumns空指针问题

This commit is contained in:
Looly 2023-08-30 22:18:56 +08:00
parent 9ba8f9ca5d
commit 268541c5a5
2 changed files with 2 additions and 1 deletions

View File

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

View File

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