Validates integer wherever code uses Integer.parseInt