Remove Diamond Operator from test cases

This commit is contained in:
Vlad Mihalcea 2016-04-06 13:25:24 +03:00
parent 52719397b3
commit de4637d592
3 changed files with 5 additions and 5 deletions

View File

@ -100,7 +100,7 @@ public class InheritanceManyToManyForeignKeyTest extends BaseNonConfigCoreFuncti
public static abstract class AbstractEventsEntityModel {
@ManyToMany(fetch = FetchType.LAZY )
private List<LocalDateEvent> events = new ArrayList<>( );
private List<LocalDateEvent> events = new ArrayList<LocalDateEvent>( );
public List<LocalDateEvent> getEvents() {
return events;

View File

@ -162,7 +162,7 @@ public class CacheLazyLoadNoTransTest extends BaseNonConfigCoreFunctionalTestCas
@ManyToMany(mappedBy = "applications")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
private List<Customer> customers = new ArrayList<>();
private List<Customer> customers = new ArrayList<Customer>();
}
@Entity
@ -176,11 +176,11 @@ public class CacheLazyLoadNoTransTest extends BaseNonConfigCoreFunctionalTestCas
@ManyToMany
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
private List<Application> applications = new ArrayList<>();
private List<Application> applications = new ArrayList<Application>();
@OneToMany(mappedBy = "customer", cascade = CascadeType.ALL)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
private List<Item> boughtItems = new ArrayList<>();
private List<Item> boughtItems = new ArrayList<Item>();
}
@Entity

View File

@ -76,7 +76,7 @@ public class MapJoinTest2 extends BaseEntityManagerFunctionalTestCase {
//foreignKey = @ForeignKey,
joinColumns = @JoinColumn(name = "batch_id", nullable = false))
@MapKeyJoinColumn(name = "node_id")
private Map<Node, BatchNodeMetadata> batchNodeMetadata = new HashMap<>();
private Map<Node, BatchNodeMetadata> batchNodeMetadata = new HashMap<Node, BatchNodeMetadata>();
}
@Entity