Le 08/03/2012 01:46, sebb a écrit :
If not added then compilers complain.
Which one? I have never seen this. Do you add -Xlint:all to your settings?
The point of @Override is to document that you intended to override the super-class method. So if the name is misspelt, that will be detected.
Have you ever seen a misspelt toString() method? Since I started programming in Java I haven't.
Emmanuel Bourg
smime.p7s
Description: S/MIME Cryptographic Signature