Using "equalsIgnoreCase" inside the method is safer then expecting the parameter to be in the correct format.