Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and snicoll committed Jul 13, 2015
1 parent 7ba7693 commit d06f3b1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ private static interface Property {
*/
private static class SpringProperty implements Property {

private final String prexfix;
private final String prefix;

private final String key;

public SpringProperty(String prefix, String key) {
this.prexfix = prefix;
this.prefix = prefix;
this.key = key;
}

Expand All @@ -215,7 +215,7 @@ public String getValue(SpringApplicationEvent event) {
if (environment == null) {
return null;
}
return new RelaxedPropertyResolver(environment, this.prexfix)
return new RelaxedPropertyResolver(environment, this.prefix)
.getProperty(this.key);
}

Expand Down

0 comments on commit d06f3b1

Please sign in to comment.