freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [11/16] incubator-freemarker git commit: Fixed accidental use of Java 6 API.
Date Sun, 04 Oct 2015 19:17:15 GMT
Fixed accidental use of Java 6 API.


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

Branch: refs/heads/2.3
Commit: 14fab44fe1a20bee814c086f110ec01e97bcbefc
Parents: dd54594
Author: ddekany <ddekany@apache.org>
Authored: Sun Oct 4 16:32:06 2015 +0200
Committer: ddekany <ddekany@apache.org>
Committed: Sun Oct 4 16:32:06 2015 +0200

----------------------------------------------------------------------
 src/main/javacc/FTL.jj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/14fab44f/src/main/javacc/FTL.jj
----------------------------------------------------------------------
diff --git a/src/main/javacc/FTL.jj b/src/main/javacc/FTL.jj
index 34f737b..a10552f 100644
--- a/src/main/javacc/FTL.jj
+++ b/src/main/javacc/FTL.jj
@@ -4227,7 +4227,7 @@ List<Object> StaticTextAndInterpolations() :
 	    )
 	    {
 	       String s = t.image;
-	       if (!s.isEmpty()) {
+	       if (s.length() != 0) {
 	           if (staticTextCollector == null) {
 	               staticTextCollector = new StringBuilder(t.image);
 	           } else {


Mime
View raw message