The @Override annotation can be used to guard against a failing override of a method. E.g. you try to override a method of a base-class but make a subtle spelling mistake or the list of input-parameter is just a little different (different signature of the sub-class' method). When you use @Override, the compiler can warn you about that problem. Also, when your manually refactor and this refactoring goes slightly wrong causing a signature mismatch between the base-class method and its sub-classes' methods that override it, the @Override can guard against that.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en