HDFS-14569. Result of crypto -listZones is not formatted properly. Contributed by hemanthboyina.

This commit is contained in:
Wei-Chiu Chuang 2019-07-30 16:52:42 -07:00
parent 99f88c30cb
commit 0f2dad6679

View File

@ -234,7 +234,7 @@ public String toString() {
Column column = columns[i];
if (column.wrap) {
int maxWidth = column.getMaxWidth();
if (maxWidth > 4) {
if (maxWidth > 10) {
column.setWrapWidth(maxWidth-1);
modified = true;
width -= 1;