code: public EditableResourceBundle getResourceBundle(Locale locale) {
  		EditableResourceBundle localeBundle = bundles.get(locale);
  		if(localeBundle==null) {
  			ResourceBundle resourceBundle = ResourceBundle.getBundle(baseName, locale);
  			if(!resourceBundle.getLocale().equals(locale)) throw new AssertionError("ResourceBundle not for this locale: "+locale);
  			if(!(resourceBundle instanceof EditableResourceBundle)) throw new AssertionError("ResourceBundle is not a EditableResourceBundle: "+resourceBundle);
  			localeBundle = (EditableResourceBundle)resourceBundle;
  			if(localeBundle.getBundleSet()!=this) throw new AssertionError("EditableResourceBundle not for this EditableResourceBundleSet: "+localeBundle);
  			if(!localeBundle.getBundleLocale().equals(locale)) throw new AssertionError("EditableResourceBundle not for this locale: "+locale);
  			// EditableResourceBundle will have added the bundle to the bundles map.
  		}
  		return localeBundle;
  	}
docs: Gets the editable bundle for the provided locale.