You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/09/26 12:50:00 UTC
[jira] [Updated] (CALCITE-4284) ImmutableBeans: make reference
properties non-nullable by default
[ https://issues.apache.org/jira/browse/CALCITE-4284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Sitnikov updated CALCITE-4284:
---------------------------------------
Description:
The rule of thumb is to avoid {{null}}, and it would be better to make properties non-nullable by default, and use annotations to permit nullable types.
I believe that would make {{org.apache.calcite.util.ImmutableBeans.Property#required}} obsolete.
was:
The rule of thumb is to avoid {{null}}, and it would be better to make properties non-nullable by default, and use annotations to permit nullable types.
> ImmutableBeans: make reference properties non-nullable by default
> -----------------------------------------------------------------
>
> Key: CALCITE-4284
> URL: https://issues.apache.org/jira/browse/CALCITE-4284
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.25.0
> Reporter: Vladimir Sitnikov
> Priority: Major
>
> The rule of thumb is to avoid {{null}}, and it would be better to make properties non-nullable by default, and use annotations to permit nullable types.
> I believe that would make {{org.apache.calcite.util.ImmutableBeans.Property#required}} obsolete.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)