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/11/29 22:53:00 UTC
[jira] [Resolved] (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 resolved CALCITE-4284.
----------------------------------------
Fix Version/s: 1.27.0
Resolution: Fixed
Fixed in https://github.com/apache/calcite/commit/853fb03c9097ab555a3bcc9a95bc24f0d1965f28
> 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
> Fix For: 1.27.0
>
>
> 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)