On Tue, 12 Feb 2002, Jordan Zimmerman wrote:

> class x {
>  // ...
>
>  private static final thread_class private_thread = new thread_class(){
>   // ...
>  };
> }
>
> Ariadna is reporting that "private_thread" is unused incorrectly.
> "private_thread" is a Thread that self-starts (inside of the base class
> "thread_class").

I think it is correct that "private_thread" is unused.
The problem is that you intended it to be unused, which
is unusual but reasonable as shown by the example.

What about being able to explicitly ignore such warnings
by selecting "Ignore Warning" in the Popup menu on the hilighted
Warning?
(This needs some sort of external storage for the "ignore mark",
but this may be available for bookmarks and breakpoints.)

Explicitly ignoring warnings is also useful for "magic" methods
and fields (such as writeObject()) from non-standard libraries
or precompilers.
Maybe it even fixes the "Together/J special javadoc" problem too?
Ok, this needs an additional "Allways Ignore this Warning" option.

Best Regards,
Volker Siegel


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to