On Mon, Apr 6, 2009 at 11:09 AM, Rickard Öberg <[email protected]> wrote: > Hey, > > In UnitOfWork, since there is no longer any "getReference" (as all > EntityInstance has to have an EntityState), it doesn't make sense to let the > remaining method be "find", so I have renamed it to "get". In other words: > > UnitOfWork uow = ...; > Developer developer = uow.get("123", Developer.class);
Yes. And may I suggest swapping the order of the arguments?? Why? It falls nicely in the English communications; "Get Developer 123" Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

