You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jacob Barrett (Jira)" <ji...@apache.org> on 2020/06/18 22:41:00 UTC

[jira] [Resolved] (GEODE-8274) Improve readability of Version comparisons

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

Jacob Barrett resolved GEODE-8274.
----------------------------------
    Fix Version/s: 1.14.0
       Resolution: Fixed

> Improve readability of Version comparisons
> ------------------------------------------
>
>                 Key: GEODE-8274
>                 URL: https://issues.apache.org/jira/browse/GEODE-8274
>             Project: Geode
>          Issue Type: Improvement
>          Components: serialization
>            Reporter: Jacob Barrett
>            Assignee: Jacob Barrett
>            Priority: Major
>             Fix For: 1.14.0
>
>
> Currently Version comparisons are done with {{Version.compareTo(Version) <=> 0}} operations. It is difficult to reason with some of the combinations to understand if we are looking for newer or older versions. Convert to some natural language style like {{Version.isNewerThan(Version)}}. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)