On Wed, Mar 31, 2010 at 12:31 AM, Rémi Forax <fo...@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