Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1907

Use proper generic parameters in HandlerContainer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17
    • Component/s: Wake
    • Labels:
      None

      Description

      HandlerContainer<T> internally uses a map from classes to corresponding event handlers. It refers the event handlers as EventHandler<? extends T>, which is wrong. Proper type signature must be EventHandler<? super T>. We need to fix it and use correct generic types wherever possible.

        Attachments

          Activity

            People

            • Assignee:
              motus Sergiy Matusevych
              Reporter:
              motus Sergiy Matusevych
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified