Lines 666-677
Link Here
|
666 |
* @param props the properties to iterate over |
666 |
* @param props the properties to iterate over |
667 |
*/ |
667 |
*/ |
668 |
protected void addProperties(Properties props) { |
668 |
protected void addProperties(Properties props) { |
669 |
HashMap m = new HashMap(props); |
669 |
for (Iterator it = props.keySet().iterator(); it.hasNext();) { |
670 |
resolveAllProperties(m); |
|
|
671 |
for (Iterator it = m.keySet().iterator(); it.hasNext();) { |
672 |
Object k = it.next(); |
670 |
Object k = it.next(); |
|
|
671 |
HashMap m = new HashMap(); |
672 |
m.put(k, props.get(k)); |
673 |
if (k instanceof String) { |
673 |
if (k instanceof String) { |
674 |
String propertyName = (String) k; |
674 |
String propertyName = (String) k; |
|
|
675 |
resolveAllProperties(m); |
675 |
if (prefix != null) { |
676 |
if (prefix != null) { |
676 |
propertyName = prefix + propertyName; |
677 |
propertyName = prefix + propertyName; |
677 |
} |
678 |
} |