diff --git a/projects/samskivert/src/java/com/samskivert/util/Config.java b/projects/samskivert/src/java/com/samskivert/util/Config.java index 12f7e713..191f22d7 100644 --- a/projects/samskivert/src/java/com/samskivert/util/Config.java +++ b/projects/samskivert/src/java/com/samskivert/util/Config.java @@ -571,6 +571,14 @@ public class Config _propsup.firePropertyChange(name, oldValue, value); } + /** + * Remove any set value for the specified preference. + */ + public void remove (String name) + { + _prefs.remove(name); + } + /** * Adds a listener that will be notified whenever any configuration * properties are changed by a call to one of the set