mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
fix NPE
This commit is contained in:
parent
b0eea9f919
commit
ac2ede43b9
@ -108,8 +108,9 @@ public class ConsoleTable {
|
||||
* @param columns 填充内容
|
||||
*/
|
||||
private void fillColumns(final List<String> l, final String[] columns) {
|
||||
String column;
|
||||
for (int i = 0; i < columns.length; i++) {
|
||||
String column = columns[i];
|
||||
column = StrUtil.toString(columns[i]);
|
||||
if (isSBCMode) {
|
||||
column = Convert.toSBC(column);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user