Using equalsIgnoreCase() is cleaner than using toUpperCase/toLowerCase().equals()
Avoid instantiating Integer objects. Call Integer.valueOf() instead
Conditional logic can be removed