Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-528

Rationalise the use of Collections, particularly with regard to pages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      Most of the APIs return Collection rather than a finer interface and in many cases these collections are repeatedly repacked and resorted unnecessarily. I will go through all APIs that return collections of pages and make them return a finer interface - probably List for unordered collections and SortedSet for ordered collections. This will make the use of these collections much clearer for further development and give us some opportunity for future optimisations.

      This is likely to be a very wide set of changes across lots of different classes so I'll submit separate patches for each class.

      Attachments

        1. jspwiki-528-LinkCollector.patch
          0.6 kB
          Greg Kable
        2. jspwiki-528-AttachmentHandler.patch
          4 kB
          Greg Kable
        3. jspwiki-528-SearchProviders.patch
          3 kB
          Greg Kable
        4. jspwiki-528-workflow.Step.patch
          3 kB
          Greg Kable
        5. jspwiki-528-Weblog.patch
          7 kB
          Greg Kable
        6. jspwiki-528-AbstractFilteredPlugin.patch
          11 kB
          Greg Kable
        7. jspwiki-528-WikiPage.patch
          3 kB
          Greg Kable
        8. jspwiki-528-WikiEngine.patch
          13 kB
          Greg Kable
        9. jspwiki-528-WikiEngine-771034.patch
          5 kB
          Greg Kable
        10. jspwiki-528-ContentManager.patch
          3 kB
          Greg Kable

        Activity

          People

            ajaquith Andrew R. Jaquith
            grackleflint Greg Kable
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: