private static Integer parseInt(final String value){
  try {
    return Integer.parseInt(value);
  }
 catch (  NumberFormatException e) {
    return null;
  }
}

private static Integer parseInt ( final String value ) { try { return Integer . parseInt ( value ) ; } catch ( NumberFormatException e ) { return null ; } }
parse integer and return null if integer is incorrect
