code: static Integer emptyToNullInteger(final String s) {
          return "".equals(s) ? null : Integer.parseInt(s);
      }
docs: Parse the specified string into an integer, returning null if the string is empty.
  
  @param s string to parse
  @return the specified string parsed into an integer, or null if the string is empty