|Re: Ignored @SuppressWarnings("unchecked") [message #526766 is a reply to message #526710]
||Mon, 12 April 2010 20:34
|| Thomas Hallgren
Registered: July 2009
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.
On 04/12/2010 07:01 PM, Maciej Oledzki wrote:
> 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:
>> Unnecessary @SuppressWarnings("unchecked")
>> Class is a raw type. References to generic type Class<T> should be
> All these warnings refer to the same fragment of code (getAdapter()
> This one about unnecessary @SuppressWarnings was also present in
> previous builds, but I've missed it before.
Powered by FUDForum
. Page generated in 0.04993 seconds