code: public int getPropertyAsInteger(final String key) {
  		LOG.info("Getting value for key: " + key);
  		int result = -1;
  		for (ResourceBundle bundle : bundles.values()) {
  			try {
  				result = Integer.parseInt(bundle.getString(key));
  				break;
  			} catch (MissingResourceException e) {
  				LOG.info("Resource: " + key + " not found!");
  			} catch (NumberFormatException e) {
  				result = -1;
  			}
  		}
  		return result;
  	}
docs: Gets the value as int from the resource bundles corresponding to the
  supplied key. <br/>
  
  If the property exists in multiple bundles only the first occurrence will
  be returned
  
  @param key
  the key to search for
  @return {@code -1} if the property is not found or the value is not a
  number; the corresponding value otherwise