> On Mon, Nov 28, 2011 at 5:18 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. I would prefer @Implements - that’s my > opinion. > > > > Again: it only does what its documented to do... the key word here is > *declaration* not *body* :)
That part is correct, but: Java 5/6: "Indicates that a method declaration is intended to override a method declaration in a superclass." Java 7: " Indicates that a method declaration is intended to override a method declaration in a supertype." The slight change is the last word. An interface is a more general "supertype" but definitely no "superclass". Uwe --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
