freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [3/9] incubator-freemarker git commit: Previously accidentally uncommitted lines.
Date Sun, 17 Sep 2017 10:56:41 GMT
Previously accidentally uncommitted lines.


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

Branch: refs/heads/2.3
Commit: 3cf4223470b9ed9c4219f395b1ad78c99c6d1309
Parents: 78d4a6e
Author: ddekany <ddekany@apache.org>
Authored: Fri Sep 1 23:43:05 2017 +0200
Committer: ddekany <ddekany@apache.org>
Committed: Fri Sep 1 23:43:05 2017 +0200

----------------------------------------------------------------------
 src/main/java/freemarker/core/BuiltIn.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/3cf42234/src/main/java/freemarker/core/BuiltIn.java
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/core/BuiltIn.java b/src/main/java/freemarker/core/BuiltIn.java
index 70a94bc..b4e3239 100644
--- a/src/main/java/freemarker/core/BuiltIn.java
+++ b/src/main/java/freemarker/core/BuiltIn.java
@@ -260,8 +260,8 @@ abstract class BuiltIn extends Expression implements Cloneable {
         putBI("remove_beginning", "removeBeginning", new BuiltInsForStringsBasic.remove_beginningBI());
         putBI("rtf", new BuiltInsForStringsEncoding.rtfBI());
         putBI("seq_contains", "seqContains", new seq_containsBI());
-        putBI("seq_index_of", "seqIndexOf", new seq_index_ofBI(1));
-        putBI("seq_last_index_of", "seqLastIndexOf", new seq_index_ofBI(-1));
+        putBI("seq_index_of", "seqIndexOf", new seq_index_ofBI(true));
+        putBI("seq_last_index_of", "seqLastIndexOf", new seq_index_ofBI(false));
         putBI("short", new shortBI());
         putBI("size", new BuiltInsForMultipleTypes.sizeBI());
         putBI("sort_by", "sortBy", new sort_byBI());


Mime
View raw message