Polish contribution

This commit is contained in:
Andy Wilkinson 2015-10-02 09:03:26 +01:00
parent 942da8bdd3
commit f86eed8646
1 changed files with 2 additions and 2 deletions

View File

@ -99,10 +99,10 @@ public class MustacheCompilerFactoryBean implements FactoryBean<Mustache.Compile
this.compiler = this.compiler.withCollector(this.collector);
}
if (this.defaultValue != null) {
this.compiler = this.compiler.defaultValue(this.defaultValue);
this.compiler = this.compiler.defaultValue(this.defaultValue);
}
if (this.emptyStringIsFalse != null) {
this.compiler = this.compiler.emptyStringIsFalse(this.emptyStringIsFalse);
this.compiler = this.compiler.emptyStringIsFalse(this.emptyStringIsFalse);
}
return this.compiler;
}