From 2f267b71998eded12aed4acec75c0ecf2f367767 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 2 May 2014 11:30:31 -0700 Subject: [PATCH] Make NO_FETCHER_FOUND available to external parties. Closes #54. --- src/main/java/com/samskivert/mustache/Template.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/samskivert/mustache/Template.java b/src/main/java/com/samskivert/mustache/Template.java index 19907e9..6d1e239 100644 --- a/src/main/java/com/samskivert/mustache/Template.java +++ b/src/main/java/com/samskivert/mustache/Template.java @@ -69,6 +69,10 @@ public class Template } } + /** A sentinel object that can be returned by a {@link Mustache.Collector} to indicate that a + * variable does not exist in a particular context. */ + public static final Object NO_FETCHER_FOUND = new Object(); + /** * Executes this template with the given context, returning the results as a string. * @throws MustacheException if an error occurs while executing or writing the template. @@ -321,10 +325,6 @@ public class Template } } - /** A sentinel object that can be returned by a {@link Mustache.Collector} to indicate that a - * variable does not exist in a particular context. */ - static final Object NO_FETCHER_FOUND = new Object(); - protected static final String DOT_NAME = ".".intern(); protected static final String THIS_NAME = "this".intern(); protected static final String FIRST_NAME = "-first".intern();