This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.