Skip to content

Commit

Permalink
fix LOGBACK-860
Browse files Browse the repository at this point in the history
  • Loading branch information
ceki committed May 10, 2013
1 parent 7188640 commit 9a11ac8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ public void addSubstitutionProperties(Properties props) {
if (props == null) {
return;
}
for (String key : props.stringPropertyNames()) {
addSubstitutionProperty(key, props.getProperty(key));
for(Object keyObject: props.keySet()) {
String key = (String) keyObject;
String val = props.getProperty(key);
addSubstitutionProperty(key, val);
}
}

Expand Down

0 comments on commit 9a11ac8

Please sign in to comment.