You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/util/FormattingCLIUtils.java
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -136,19 +136,19 @@ private void buildTitle() {
136
136
privatevoidbuildTable() {
137
137
this.buildTitle();
138
138
for (inti = 0, len = this.tableRows.size(); i < len; i++) {
139
-
List<String> datas = this.tableRows.get(i).datas;
139
+
List<String> data = this.tableRows.get(i).data;
140
140
switch (this.tableRows.get(i).tableRowType) {
141
141
caseHEADER:
142
142
if (this.lastTableRowType != TableRowType.HEADER) {
143
-
this.buildRowBorder(datas);
143
+
this.buildRowBorder(data);
144
144
}
145
-
this.buildRowLine(datas);
146
-
this.buildRowBorder(datas);
145
+
this.buildRowLine(data);
146
+
this.buildRowBorder(data);
147
147
break;
148
148
caseLINE:
149
-
this.buildRowLine(datas);
149
+
this.buildRowLine(data);
150
150
if (i == len - 1) {
151
-
this.buildRowBorder(datas);
151
+
this.buildRowBorder(data);
152
152
}
153
153
break;
154
154
default:
@@ -159,11 +159,11 @@ private void buildTable() {
159
159
160
160
/**
161
161
* Method to build a border row.
162
-
* @param datas dataLine
162
+
* @param data dataLine
163
163
*/
164
-
privatevoidbuildRowBorder(List<String> datas) {
164
+
privatevoidbuildRowBorder(List<String> data) {
165
165
this.join.append("+");
166
-
for (inti = 0, len = datas.size(); i < len; i++) {
0 commit comments