Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-914

Make a bit easier to compare a Version to a String

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.4.2, 8.0-milestone-2
    • 7.4.1
    • Extension
    • None
    • N/A

    Description

      Main use case being Velocity. Velocity auto convert does not work because the signature of the method is compareTo(Objet) so it always match.

      The solution is to introduce an explicit compareTo(String) method.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: