cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1610) ObjectContext API to use varargs
Date Sat, 03 Sep 2011 02:01:09 GMT

     [ https://issues.apache.org/jira/browse/CAY-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-1610.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1M3

> ObjectContext API to use varargs
> --------------------------------
>
>                 Key: CAY-1610
>                 URL: https://issues.apache.org/jira/browse/CAY-1610
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.1M2
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M3
>
>
> It is quite annoying to wrap objects in collections to invalidate objects... This is
easily solved with varargs. For symmetry we can do the same with with deleteObjects. So we'll
end up with:
> void invalidateObjects(Collection<?> objects);
> void invalidateObjects(Object... objects);
> void deleteObjects(Collection<?> objects);
> void deleteObjects(Object... objects);
> @Deprecated // redundant
> deleteObject(Object object);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message