Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18203

Fix TargetImpl#isAfterVersion() and isStrictlyBeforeVersion() methods

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Target Platforms
    • Tags:
    • Sprint:
      nxNag Sprint 7.10.1

      Description

      Current implementation is using String#compareTo() which compares two strings lexicographically.

      This produces wrong results, for instance when doing "7.10".compareTo("7.2").

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: