Remove commented code
Remove useless parentheses
Right curly brace and next "else", "catch" and "finally" keywords should
be located on the same line
Collection.isEmpty() should be used to test for emptiness
Useless parentheses around expressions should be removed to prevent any
misunderstanding
Move this "else" on the same line that the previous closing curly brace.
Avoid instantiating Integer objects. Call Integer.valueOf() instead.