Map or Set may contain URL objects inspection: should it trigger for URL map values?

This inspection currently fires for Maps that declare URL as their key type.
I'm wondering if this makes sense. It's true that calling containsValue() on such a collection type might be a bad idea, but perhaps the inspection could be a little smarter, and only fire on containsValue() usages of such maps?

-tt

Please sign in to leave a comment.