@@ -108,34 +108,34 @@ public int getColumnCount() {
108
108
public Object getValueAt (final int row , final int col ) {
109
109
final Test test = getTest (row );
110
110
switch (col ) {
111
- case 0 :
112
- return test .getStatusIcon ();
113
- case 1 :
114
- return test .getWarningIcon ();
115
- case 2 :
116
- return test . getInfoIcon ();
117
- case 3 :
118
- if ( showDescription && test . getDescription () != null ) {
119
- return test . getDescription ();
120
- } else {
121
- return test . getId (). substring ( commonPrefix == null ? 0 : commonPrefix . length ());
122
- }
123
- case 4 :
124
- return test .getExecutionTime ();
125
- default :
126
- return null ;
111
+ case 0 :
112
+ return test .getStatusIcon ();
113
+ case 1 :
114
+ if ( showDescription && test .getDescription () != null ) {
115
+ return test . getDescription ();
116
+ } else {
117
+ return test . getId (). substring ( commonPrefix == null ? 0 : commonPrefix . length ());
118
+ }
119
+ case 2 :
120
+ return test . getWarningIcon ();
121
+ case 3 :
122
+ return test . getInfoIcon ();
123
+ case 4 :
124
+ return test .getExecutionTime ();
125
+ default :
126
+ return null ;
127
127
}
128
128
}
129
129
130
130
@ Override
131
131
public String getColumnName (final int col ) {
132
132
switch (col ) {
133
- case 0 :
134
133
case 1 :
134
+ return UtplsqlResources .getString (showDescription ? "RUNNER_DESCRIPTION_LABEL" : "RUNNER_TEST_ID_COLUMN" );
135
+ case 0 :
135
136
case 2 :
136
- return "" ; // icons are used instead of descriptions
137
137
case 3 :
138
- return UtplsqlResources . getString ( showDescription ? "RUNNER_DESCRIPTION_LABEL" : "RUNNER_TEST_ID_COLUMN" );
138
+ return "" ; // icons are used instead of descriptions
139
139
case 4 :
140
140
return getTimeColumnName ();
141
141
default :
@@ -153,8 +153,8 @@ public boolean isCellEditable(final int row, final int column) {
153
153
public Class <?> getColumnClass (final int col ) {
154
154
switch (col ) {
155
155
case 0 :
156
- case 1 :
157
156
case 2 :
157
+ case 3 :
158
158
return Icon .class ;
159
159
case 4 :
160
160
return Double .class ;
0 commit comments