Change Integer.valueOf(String) to Interger.parseInt
Add missing final modifier