code: public static int intValue(String key, int defaultValue) {
  		String value = System.getProperty(key);
  		int intValue = defaultValue;
  
  		if (value != null) {
  			try {
  				intValue = Integer.parseInt(value);
  			} catch (NumberFormatException e) {
  				LOG.warning(e, "Ignoring invalid int system propert: ''{0}'' = ''{1}''", key, value);
  			}
  		}
  		return intValue;
  	}
docs: Gets a {@code int} system property value.
  
  @param key the property key to retrieve.
  @param defaultValue the default value to return in case the property is not defined.
  @return the property value or the submitted default value if the property is not defined.