Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-277

Add generics to TypeHandler

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      TypeHandler currently works on Object. Since we pass the class class of the return value, we can add generics. This way we don't need to cast the returned value explicitly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                britter Benedikt Ritter
                Reporter:
                britter Benedikt Ritter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: