reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Weimer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (REEF-1907) Use proper generic parameters in HandlerContainer
Date Tue, 24 Oct 2017 17:20:00 GMT

     [ https://issues.apache.org/jira/browse/REEF-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Markus Weimer resolved REEF-1907.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.17

Resolved via [#1397|https://github.com/apache/reef/pull/1397]

> Use proper generic parameters in HandlerContainer
> -------------------------------------------------
>
>                 Key: REEF-1907
>                 URL: https://issues.apache.org/jira/browse/REEF-1907
>             Project: REEF
>          Issue Type: Improvement
>          Components: Wake
>            Reporter: Sergiy Matusevych
>            Assignee: Sergiy Matusevych
>            Priority: Minor
>             Fix For: 0.17
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> {{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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message