[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?
|
- From: Andy Clement <andrew.clement@xxxxxxxxx>
- Date: Tue, 5 Oct 2010 03:42:30 -0700
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=siYn5UB8XzjUvQcZ1WhW/CY2sebMNj0uxi55A1NCBZE=; b=LPwgzL/HkXN0pbzVgsbeaT/pyU8vLXf9gw6hK9h03Y7ThyEWbdSkr5boiKRqEESUKM 8ToKnQeOp5psCf78+PRh4JTQLDOzzMLRgklC3ulZFO6NBDsd2emlTHH2F0i5mcqAF+m3 t0+BZzYShRzSTZ6ieZnL21r5Jy1bRrK1qWxV4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uirmnKqEPyYgWeRFFG8PMLhOn9l3t3bW7lYa3M0OOeWuYV5EyFKEVyFVHXFltypZkj yYOlczfdF2ACVoYLxY0S8I4oyi4xyTk3ccKW2y29qgKYTEt8YCpwz2HoPkseEKP0NQ84 ylP4WQyHHuodpXEuJkmwBy3gnkKFawjyqHmbs=
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
>