hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: @SuppressWarnings("null") really needed?
Date Fri, 06 Nov 2009 16:47:50 GMT
Well, without it _I_ get a warning that the variable could be null...

I assume we must have different local Eclipse settings.

Not sure how to deal with the problem - seems to me Eclipse is being
too literal about the warning in your case.

==

I found these regarding the annotation:

http://knol.google.com/k/alex-miller/suppresswarnings-annotation-in-java/1f092vcri65lh/3#

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm

On 06/11/2009, Oleg Kalnichevski <olegk@apache.org> wrote:
> Hi Sebastian,
>
>  Since your last commit my Eclipse pops up a warning saying 'Unnecessary
> @SuppressWarnings("null")'. What is the purpose of this annotation? Is it
> needed?
>
>  Oleg
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>  For additional commands, e-mail: dev-help@hc.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message