You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/11/28 09:54:35 UTC

[groovy] branch master updated: Trivial tweak for dummy `groupby`

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 361f9cd  Trivial tweak for dummy `groupby`
361f9cd is described below

commit 361f9cd815a2b5e816ddff12c7ff048533cb61e6
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Nov 28 17:54:16 2020 +0800

    Trivial tweak for dummy `groupby`
---
 .../org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy
index 64cb278..81071ff 100644
--- a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy
+++ b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy
@@ -212,7 +212,7 @@ class GinqAstWalker implements GinqAstVisitor<Expression>, SyntaxErrorReportable
                     new GroupExpression(
                             new ArgumentListExpression(
                                     Collections.singletonList(
-                                            (Expression) new ConstantExpression(Integer.MIN_VALUE))))
+                                            (Expression) ConstantExpression.NULL)))
         }
     }