mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Replace explicit type with <>
This commit is contained in:
@@ -219,7 +219,7 @@ public class Customer extends BasicDomain {
|
||||
|
||||
public void addContact(Contact contact) {
|
||||
if (contacts == null) {
|
||||
contacts = new ArrayList<Contact>();
|
||||
contacts = new ArrayList<>();
|
||||
}
|
||||
contacts.add(contact);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user