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 2121import org .springframework .core .style .ToStringCreator ;
2222import org .utplsql .sqldev .model .JsonToStringStyler ;
2323
24+ @ SuppressWarnings ("unused" )
2425public class Run {
2526 private String reporterId ;
2627 private String connectionName ;
@@ -79,18 +80,13 @@ public void setStartTime(final String startTime) {
7980 public String getName () {
8081 final String time = startTime .substring (11 , 19 );
8182 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 + ")" ;
8884 }
8985
9086 public void put (final List <Item > items ) {
9187 for (final Item item : items ) {
9288 if (item instanceof Test ) {
93- tests .put ((( Test ) item ) .getId (), (Test ) item );
89+ tests .put (item .getId (), (Test ) item );
9490 }
9591 if (item instanceof Suite ) {
9692 put (((Suite ) item ).getItems ());
You can’t perform that action at this time.
0 commit comments