In Java 5, you must not add @Override
when implementing a method inherited from an interface, in Java 6, you should (or you'll get a compiler warning).
@Override
asserts that a method is intended to override something, and will cause the compiler to notify you should this not or no longer be the case, for instance because the method you are overriding has been renamed.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…