Why declare "private List contactInfos" without a generic ("private List <ContactInfo> contactInfos"
- by g_imp
In this example from the App Engine docs, why does the example declare contactInfos like this (no Generics):
import javax.jdo.annotations.Element;
// ...
@Persistent
@Element(dependent = "true")
private List contactInfos;
instead of like this, using a Generic:
import javax.jdo.annotations.Element;
// ...
@Persistent
@Element(dependent = "true")
private List <ContactInfo> contactInfos;