Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39795

Add Generics to Collections and Maps

    XMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Kernel
    • Labels:

      Description

      Most of the Sakai API have methods like:

      List getAllFoo();

      These should be:

      List<Foo> getAllFoo()

      This is both for code safety and for usability (that way users of the API's are clear what the method returns in its collection)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                k1team KERNEL TEAM (Inactive)
                Reporter:
                dhorwitz David Horwitz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code