20-05-08 10:00
Java @Override Annotation for Interfaces in Java 1.6
Today I discovered that when compiling for source level 1.6 with the current Java 6 the @Override annotation is available for methods implementing an interface.
In Java 5 only methods inherited from a superclass could be annotated with a "@Override".
This new feature helps, since the compiler will detect orphans when an interface changes.