Repository: incubator-freemarker
Updated Branches:
  refs/heads/2.3 a5fb3511f -> b25782910


Fix grammar in InvalidReferenceException tip

Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/732fe766
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/732fe766
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/732fe766

Branch: refs/heads/2.3
Commit: 732fe7660b5c7f4067c32ae823f70905086fa151
Parents: 16ff174
Author: Simon Lammer <[email protected]>
Authored: Thu Aug 3 13:23:27 2017 +0200
Committer: GitHub <[email protected]>
Committed: Thu Aug 3 13:23:27 2017 +0200

----------------------------------------------------------------------
 src/main/java/freemarker/core/InvalidReferenceException.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/732fe766/src/main/java/freemarker/core/InvalidReferenceException.java
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/core/InvalidReferenceException.java 
b/src/main/java/freemarker/core/InvalidReferenceException.java
index 6f64942..791263b 100644
--- a/src/main/java/freemarker/core/InvalidReferenceException.java
+++ b/src/main/java/freemarker/core/InvalidReferenceException.java
@@ -42,7 +42,7 @@ public class InvalidReferenceException extends 
TemplateException {
     }
     
     private static final Object[] TIP = {
-        "If the failing expression is known to be legally refer to something 
that's sometimes null or missing, "
+        "If the failing expression is known to legally refer to something 
that's sometimes null or missing, "
         + "either specify a default value like myOptionalVar!myDefault, or use 
",
         "<#if myOptionalVar??>", "when-present", "<#else>", "when-missing", 
"</#if>",
         ". (These only cover the last step of the expression; to cover the 
whole expression, "

Reply via email to