[
https://issues.apache.org/jira/browse/THRIFT-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683630#comment-13683630
]
Randy Abernethy commented on THRIFT-2030:
-----------------------------------------
+1
> Thrift allows for inconsistent use of "oneway"
> ----------------------------------------------
>
> Key: THRIFT-2030
> URL: https://issues.apache.org/jira/browse/THRIFT-2030
> Project: Thrift
> Issue Type: Bug
> Reporter: Jens Geyer
> Labels: oneway
> Attachments: THRIFT-2030-inconsistent-use-of-oneway.patch
>
>
> From my understanding, a oneway is intended to return no value at all,
> allowing for optimizations like async execution within the service, etc. But
> both IDL Syntax and the Thrift Compiler allow for oneway functions having a
> return type other than void, which in my opinion is inconsistent.
> At the very least a warning would be appropriate here.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira