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