On 17/11/2007, at 10:24 AM, aadamchi..pache.org wrote:
> * Returns a collection of objects that are registered with this
> ObjectContext and
> * have a state PersistenceState.NEW
> */
> - Collection newObjects();
> + Collection<?> newObjects();
Is that right? As I understand it, <?> should be used when you have
one type of object and you don't know which which type it is, but
<Object> should be used when you have a mixture of different types of
object.
I don't have a reference for that right now, but that was my
recollection.
Ari
-------------------------->
Aristedes Maniatis
phone +61 2 9660 9700
PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8
This archive was generated by hypermail 2.0.0 : Fri Nov 16 2007 - 18:57:16 EST