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] [Created] (CAY-1610) ObjectContext API to use varargs
Date Fri, 02 Sep 2011 22:38:10 GMT
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


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