Good point - I hadn't thought of that. Not sure whether <?> will cause
problems so I removed it completely for the moment.
Ari
On 12/01/2008, at 7:58 PM, Andrus Adamchik wrote:
> 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) {
>
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
This archive was generated by hypermail 2.0.0 : Sat Jan 12 2008 - 05:03:51 EST