Why would you have toString private? Make it public and
the warning is gone.

Marius

Alain Ravet wrote:
> The highlighting for
>         "private field xxx is assigned but never accessed. "
> is really useful.
> 
> 
> As many - ? -, I tend to overwrite toString() for debugging purposes, in 
> most classes.
> 
> Problem :
>    Because of toString(), field xxx is accessed, although only
>    when debugging.
>    => it won't be highlighted.
> 
> 
> 
> Request :
>    Add an option to not consider toString() as a field accessor
>    when detecting assigned but never accessed fields.
> 
> 
> 
> 
> Alain Ravet
> 


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to