Remove Diamond Operator from test cases
This commit is contained in:
parent
52719397b3
commit
de4637d592
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue