Re: svn commit: r611384 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne: access/ event/ project/validator/ util/

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Jan 12 2008 - 03:58:56 EST

  • Next message: Aristedes Maniatis: "Re: svn commit: r611384 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne: access/ event/ project/validator/ util/"

    Actually since technically Cayenne supports POJO (enhanced to
    Persistent at runtime), we should not use "Persistent" as a generics
    type in the public method signatures.

    Andrus

    On Jan 12, 2008, at 10:15 AM, amaniati..pache.org wrote:

    > Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/
    > src/main/java/org/apache/cayenne/access/DataContext.java
    > URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataContext.java?rev=611384&r1=611383&r2=611384&view=diff
    > =
    > =
    > =
    > =
    > =
    > =
    > =
    > =
    > ======================================================================
    > --- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/
    > java/org/apache/cayenne/access/DataContext.java (original)
    > +++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/
    > java/org/apache/cayenne/access/DataContext.java Sat Jan 12 00:15:00
    > 2008
    >.. -943,16 +943,14 @@
    > *
    > *..ince 1.2
    > */
    > - public void deleteObjects(Collection objects) {
    > + public void deleteObjects(Collection<Persistent> objects) {



    This archive was generated by hypermail 2.0.0 : Sat Jan 12 2008 - 03:59:35 EST