On Mon, Nov 28, 2011 at 6:19 AM, Uwe Schindler <[email protected]> wrote: > And personally I don’t agree that @Override on interfaces is useful, it's > itself a bug as there is nothing overridden.
What's the practical difference between overriding an abstract method and implementing an interface method? Neither actually override any behavior. > The specification and javadocs are authoritative. And the authors clearly thought @Override for interface methods was a good idea ;-) I do like being able to use this feature as it makes the code easier to understand at a glance and helps prevent bugs. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
