Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to get rid of raw types warning?

Suppression ought to work (probably SuppressWarnings as it is a java
warning), sounds like a bug.  If you raise it in bugzilla I'll take a
look when I get a moment.

cheers
Andy

On 4 October 2010 11:13, Peter Zeltins <peter@xxxxxxxxxxxxxxxx> wrote:
> My pointcut:
>
> pointcut myPointCut(IGenericType list):
>                target(list) && call(void updateList(*));
>
> IGenericType is parametrized, and in my pointcut I don't care about the
> actual type. So it works just fine, but compiler throws 'raw type should be
> parametrized' warning there, and I cant turn it off via @SuppressAJWarnings
> or @SuppressWarnings annotations. It's annoying. Any way to get around it
> and turn off that warning?
>
> Thx!
> Peter
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top