reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <j...@apache.org>
Subject [jira] [Created] (REEF-1835) Use stricter type constraints in Avro ProtocolSerializer
Date Thu, 20 Jul 2017 01:21:00 GMT
Sergiy Matusevych created REEF-1835:
---------------------------------------

             Summary: Use stricter type constraints in Avro ProtocolSerializer
                 Key: REEF-1835
                 URL: https://issues.apache.org/jira/browse/REEF-1835
             Project: REEF
          Issue Type: Improvement
          Components: Wake.NET
            Reporter: Sergiy Matusevych
            Assignee: Sergiy Matusevych
            Priority: Minor


Current version of {{ProtocolSerializer.Read()}} method accepts _any_ type for the {{observer}}
parameter, while internally it is always assumed to be of type {{IObserver<MessageInstance<?>>}}.
We need tighter type constraints here - at least in the user-facing API.



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

Mime
View raw message