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 2021/05/04 10:39:34 UTC

[groovy] branch master updated: Tweak null object for GINQ further

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 adc878c  Tweak null object for GINQ further
adc878c is described below

commit adc878cdae9966257704f9b0e68517116ca5dd3a
Author: Daniel Sun <su...@apache.org>
AuthorDate: Tue May 4 18:39:13 2021 +0800

    Tweak null object for GINQ further
---
 .../org/apache/groovy/ginq/provider/collection/runtime/Null.groovy    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Null.groovy b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Null.groovy
index a7b2dfb..b1785a8 100644
--- a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Null.groovy
+++ b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Null.groovy
@@ -51,6 +51,10 @@ class Null {
         return null
     }
 
+    static $static_propertyMissing(String name, def value) {
+        return null
+    }
+
     boolean asBoolean() {
         return false
     }