in impl/src/main/java/org/apache/geronimo/config/ConfigValueImpl.java [116:131]
public ConfigValueImpl<T> withStringDefault(String value) {
if (value == null || value.isEmpty()) {
throw new RuntimeException("Empty String or null supplied as string-default value for property "
+ keyOriginal);
}
value = replaceVariables(value);
if (isList) {
defaultValue = splitAndConvertListValue(value);
}
else {
defaultValue = convert(value);
}
withDefault = true;
return this;
}