File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
sqldev/src/main/java/org/utplsql/sqldev/model/runner Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 21
21
import org .springframework .core .style .ToStringCreator ;
22
22
import org .utplsql .sqldev .model .JsonToStringStyler ;
23
23
24
+ @ SuppressWarnings ("unused" )
24
25
public class Run {
25
26
private String reporterId ;
26
27
private String connectionName ;
@@ -79,18 +80,13 @@ public void setStartTime(final String startTime) {
79
80
public String getName () {
80
81
final String time = startTime .substring (11 , 19 );
81
82
final String conn = connectionName != null ? connectionName .substring (15 ) : "n/a" ;
82
- final StringBuilder sb = new StringBuilder ();
83
- sb .append (time );
84
- sb .append (" (" );
85
- sb .append (conn );
86
- sb .append (")" );
87
- return sb .toString ();
83
+ return time + " (" + conn + ")" ;
88
84
}
89
85
90
86
public void put (final List <Item > items ) {
91
87
for (final Item item : items ) {
92
88
if (item instanceof Test ) {
93
- tests .put ((( Test ) item ) .getId (), (Test ) item );
89
+ tests .put (item .getId (), (Test ) item );
94
90
}
95
91
if (item instanceof Suite ) {
96
92
put (((Suite ) item ).getItems ());
You can’t perform that action at this time.
0 commit comments