Re: Re: The screwdriver is back!

David Strupl <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Jesse Glick napsal(a):
> An example:
> 
>  34            EventQueue.invokeLater(new Runnable() {
> (I)               public void run() {
>  36                    updateWith(complex + calcul.ation());
>  37                }
>  38            });
> 
> The icon appears in the left margin and grabs my attention when I should 
> be looking at the body of the runnable. Whereas in
> 
>  34            EventQueue.invokeLater(new Runnable() {
>  35                @Override public void run() {
>  36                    updateWith(complex + calcul.ation());
>  37                }
>  38            });
> 
> the contents of line 35 appear as boilerplate, which is exactly what 
> they are.

I agree with this but the problem here is that typically you have tons 
of legacy code migrated from 1.4 to 1.5 (e.g. the whole NB source) and 
you (I?) want to have some indication about the override even without 
the annotation. I am not sure that the hint is a good visual indication 
of the override.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.