You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Kasper Sørensen (Jira)" <ji...@apache.org> on 2019/09/16 10:08:00 UTC

[jira] [Updated] (METAMODEL-1218) Can't compare schema's without a name

     [ https://issues.apache.org/jira/browse/METAMODEL-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasper Sørensen updated METAMODEL-1218:
---------------------------------------
    Fix Version/s: 5.3.1

> Can't compare schema's without a name
> -------------------------------------
>
>                 Key: METAMODEL-1218
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-1218
>             Project: Apache MetaModel
>          Issue Type: Bug
>    Affects Versions: 5.2.1
>            Reporter: Gerard Dellemann
>            Priority: Minor
>             Fix For: 5.3.1
>
>
> A schema has a name, but it's value can be NULL. When comparing schema's in the AbstractSchema class (#176) the names are used. When the names of either schema is NULL this will result in a NullPointer. I suggest implementing the following compareTo:
> https://stackoverflow.com/a/6259488



--
This message was sent by Atlassian Jira
(v8.3.2#803003)