Skip to site navigation (Press enter)

Re: JDOHelper.getObjectIds(Collection) should IMHO be JDOHelper.getObjectIds(Collection)

Craig L Russell Wed, 28 Apr 2010 18:46:43 -0700

Hi Marco,

Can you at least post the compilation error you get via email, if you can't spare the time to file a JIRA? ;-)

I don't disagree with your comment that the Collection<Object> might not have the right semantics but want to make sure that if we do change this, we both fix your issue and don't break anything else.

There are other APIs that have this same pattern that we also should look at.

Thanks,

Craig

On Apr 27, 2010, at 12:12 PM, Marco หงุ่ยตระกูล- Schulze wrote:

Hello all,

I just stumbled over a compilation error when I wanted to get a
collection of object-IDs, because the
JDOHelper.getObjectIds(Collection<Object>) is typed with
Collection<Object>. Shouldn't this be Collection<? extends Object> instead?

Best regards, Marco :-)



Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!

  • Previous message
  • View by thread
  • View by date
  • Next message
  • JDOHelper.getObjectIds(Co... Marco หงุ่ยตระกูล-Sch ulze
    • Re: JDOHelper.getObj... Craig L Russell
    • Re: JDOHelper.getObj... Craig L Russell

Reply via email to

The Mail Archive
  • The Mail Archive home
  • jdo-dev - all messages
  • jdo-dev - about the list
  • Expand
  • Previous message
  • Next message
  • The Mail Archive home
  • Add your mailing list
  • FAQ
  • Support
  • Privacy
  • [email protected]