java.util.Pair

Kevin Bourrillion kevinb at google.com
Wed Mar 31 15:34:58 UTC 2010


On Wed, Mar 31, 2010 at 12:31 AM, Rémi Forax <forax at univ-mlv.fr> wrote:

In equals, instanceof Pair should be instanceof Pair<?,?>.
> Pair is a raw type.
>

Tangent: there are those of us who believe javac is quite mistaken to issue
a warning on 'instanceof Pair'.  (And even if it were right in theory (which
I don't think it is), weren't warnings supposed to be things that would warn
you about possible *bugs*?)


-- 
Kevin Bourrillion @ Google
internal:  http://goto/javalibraries
external: http://guava-libraries.googlecode.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20100331/b5f20ad9/attachment.html>


More information about the core-libs-dev mailing list