This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
My one regret in life is that I am not someone else.
- Woody Allen
posted 3 years ago
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.