Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2753

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.0-M5
    • 2.0.0-M6
    • Core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: