Use collections methods to add stuff

Remove redundant new String initialization
This commit is contained in:
thatsIch
2014-09-27 23:54:17 +02:00
parent 8a1364146f
commit d37638f4ee
5 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ public class ItemRepo
Method b = searchField.getClass().getMethod( "onTextChange", String.class );
NEIWord = filter;
a.invoke( searchField, new String( filter ) );
a.invoke( searchField, filter );
b.invoke( searchField, "" );
}
}