Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1610

ObjectContext API to use varargs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1M2
    • 3.1M3
    • Core Library
    • None

    Description

      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);

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: