Spring Roo
  1. Spring Roo
  2. ROO-2310

Improve sorted order of auto-prompt options displayed by the Roo shell

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.3.RELEASE
    • Component/s: @ CORE
    • Labels:
      None

      Description

      The sorted order for auto-prompt options presented to the user is acceptable in most cases but is not where standard non-number words or unpunctuated text is displayed. For example the ordering of 2048MB, 512MB, 64MB, 128MB, 256MB, 1024MB is:

      1024MB 128MB 2048MB 256MB 512MB 64MB

      instead of the more logical:

      64MB 128MB 256MB 512MB 1024MB 2048MB

        Activity

        Hide
        James Tyrrell added a comment -

        Added an external NaturalOrderComparator class which provides the correct sorting order in commmit 2c25e0c83ee7d662c882edfaf94d901e1a56cd1f

        Show
        James Tyrrell added a comment - Added an external NaturalOrderComparator class which provides the correct sorting order in commmit 2c25e0c83ee7d662c882edfaf94d901e1a56cd1f

          People

          • Assignee:
            James Tyrrell
            Reporter:
            James Tyrrell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: