Github user arunmahadevan commented on a diff in the pull request: https://github.com/apache/storm/pull/2241#discussion_r130009128 --- Diff: storm-client/src/jvm/org/apache/storm/serialization/KryoTupleDeserializer.java --- @@ -39,7 +38,7 @@ public KryoTupleDeserializer(final Map<String, Object> conf, final GeneralTopolo _kryoInput = new Input(1); } - public Tuple deserialize(byte[] ser) { + public TupleImpl deserialize(byte[] ser) { --- End diff -- It works because Java supports covariant return types. But I am not sure why is this changed since I don't see this being made use of to avoid the downcast in the patch.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---