mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <>
Subject Re: warnings
Date Fri, 29 May 2009 13:16:38 GMT
Ah right. I am not sure why I don't see a warning on that anymore in IntelliJ 9.

Anyway, yeah if you make the type parameter Class<?>, then it
complains that, essentially, Class.class is not of this type, which
doesn't make sense to me.

I agree, it is worth @SuppressWarnings. Send over your patch and I can commit.

On Fri, May 29, 2009 at 2:09 PM, Benson Margulies <> wrote:
> Eclipse always warns for a naked use of Class. So, Eclipse thinks, more or
> less, that any time you might want to say X<Class>, that you really meant to
> say X<Class<?>>, or X<Class<something>>, which is in some cases
the same
> sort of beast. However, this is not one of those cases. I think that an
> @SuppressWarnings is called for.

View raw message