Updated docs for Compiler.nullValue().

This commit is contained in:
Michael Bayne
2013-10-08 12:19:01 -07:00
parent 9910bb691a
commit 5001469052
@@ -108,9 +108,9 @@ public class Mustache
* <ul> * <ul>
* <li>In the case of a Java object being used as a context, if no field or method can be * <li>In the case of a Java object being used as a context, if no field or method can be
* found for a variable, an exception will be raised.</li> * found for a variable, an exception will be raised.</li>
* <li>In the case of a {@link Map} being used as a context, all possible accessors are * <li>In the case of a {@link Map} being used as a context, if the map does not contain
* assumed to exist (but potentially return null), and no exception will ever be * a mapping for a variable, an exception will be raised. If the map contains a mapping
* raised.</li> * which maps to {@code null}, then {@code nullValue} is used.</li>
* </ul> */ * </ul> */
public Compiler nullValue (String nullValue) { public Compiler nullValue (String nullValue) {
return new Compiler(this.standardsMode, nullValue, false, return new Compiler(this.standardsMode, nullValue, false,