/** * Put a name -it will be converted to lower case before insertion. * Any existing entry will be overwritten (that includes an entry * with a different case in the original name) * @param name name of entry * @param conf configuration * @throws IllegalArgumentException if not a valid name */ public void put(String name, PublishedConfiguration conf) { String name1 = name.toLowerCase(Locale.ENGLISH); validateName(name1); configurations.put(name1, conf); }
/** * Put a name -it will be converted to lower case before insertion. * Any existing entry will be overwritten (that includes an entry * with a different case in the original name) * @param name name of entry * @param conf configuration * @throws IllegalArgumentException if not a valid name */ public void put(String name, PublishedConfiguration conf) { String name1 = name.toLowerCase(Locale.ENGLISH); validateName(name1); configurations.put(name1, conf); }