[
https://issues.apache.org/jira/browse/THRIFT-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15170469#comment-15170469
]
Hudson commented on THRIFT-3112:
--------------------------------
SUCCESS: Integrated in Thrift-precommit #212 (See
[https://builds.apache.org/job/Thrift-precommit/212/])
Follow-up THRIFT-3112: key.cancel when error (nsuke:
[https://github.com/apache/thrift/commit/a97c5fbe1525e4af5610d82087b719466e75df04])
* lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java
> [Java] AsyncMethodCallback should be typed in generated AsyncIface
> ------------------------------------------------------------------
>
> Key: THRIFT-3112
> URL: https://issues.apache.org/jira/browse/THRIFT-3112
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler, Java - Library
> Affects Versions: 0.9.2
> Reporter: Sergei Egorov
> Assignee: John Sirois
>
> AsyncMethodCallback is generic, but current Java code generator is not adding
> type info to it, and instead of:
> {code:java}
> public interface AsyncIface {
> public void ping(org.apache.thrift.async.AsyncMethodCallback<String>
> resultHandler) throws org.apache.thrift.TException;
> }
> {code}
> we have:
> {code:java}
> public interface AsyncIface {
> public void ping(org.apache.thrift.async.AsyncMethodCallback
> resultHandler) throws org.apache.thrift.TException;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)