code: public static Properties flatten(Properties values) {
  		
  		Properties result = new Properties();
  		
  		Object key = null;
  		
  		Set<String> propertyNames = values.stringPropertyNames();
  		for (String propertyName : propertyNames) {
  			result.setProperty(propertyName, values.getProperty(propertyName));
  		}
  		return result;
  	}
docs: Return a new {@link Properties} without defaults in which all entries are defined in the returned one.
  So for instance if you have such Properties...
  <pre>
  defaults = new Properties();
  defaults.setProperty("title", "WaterXhip Down");
  defaults.setProperty("author", "Richard Adams");
  values = new Properties(defaults);
  values.setProperty("title", "Watership Down");
  </pre>
  ...flatten(values) returns a Properties in which both "title" and "author" keys are defined.