Some poor code style there. Your two return statements are confusing. It should read:- you should not use tabs for indenting, as explained here. You should always put the @Override annotation on overridden methods, like this, and compile the code again:- That will probably help explain why your method is not working.
Come have lunch with me Arthur. Adventure will follow. This tiny ad: