|
|
|
Re: Ignored @SuppressWarnings("unchecked") [message #526766 is a reply to message #526710] |
Mon, 12 April 2010 20:34 |
|
Hi Maciej,
If you get warnings when using Buckminster, then there's a difference in compiler settings, or possibly in Java version
settings (in 1.6 you should use @SuppressWarning("rawtypes") instead of @SuppressWarning("unchecked")). So please check
that you control both with project specific settings.
Regards,
Thomas Hallgren
On 04/12/2010 07:01 PM, Maciej Oledzki wrote:
> Hi,
>
> I've updated /.settings/org.eclipse.jdt.core.prefs file with
> org.eclipse.jdt.core.compiler.problem.* properties, and still have the
> same problem.
>
> My local eclipse shows me 0 warnigns in project, but buckminster compile
> log still contains warnings.
>
> What is more, this log contains two warnings:
> Quote:
>> Unnecessary @SuppressWarnings("unchecked")
>> Class is a raw type. References to generic type Class<T> should be
>> parameterized
>
> All these warnings refer to the same fragment of code (getAdapter()
> method).
> This one about unnecessary @SuppressWarnings was also present in
> previous builds, but I've missed it before.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05433 seconds