Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2753

to avoid explicit casting, make AbstractDomainEvent#getSubject() return <T> T

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M5
    • Fix Version/s: 2.0.0-M6
    • Component/s: Isis Core
    • Labels:
      None

      Description

      ... rather than Object.

      This will save the application having to perform an explicit case; the java compiler will put in the cast for us.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danhaywood Daniel Keir Haywood
                Reporter:
                danhaywood Daniel Keir Haywood
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: