Kinda cleanup?

I bet u need to use matches instead of equalsIgnoreCase :P
Best regards