[
https://issues.apache.org/jira/browse/THRIFT-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805246#action_12805246
]
David Reiss commented on THRIFT-693:
------------------------------------
Yeah. We could also have a generator option (similar to nocamel) that disables
the generation of these methods.
> Thrift compiler generated java code that throws compiler warnings about
> deprecated methods.
> --------------------------------------------------------------------------------------------
>
> Key: THRIFT-693
> URL: https://issues.apache.org/jira/browse/THRIFT-693
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (C++), Library (Java)
> Affects Versions: 0.2
> Reporter: Andrei Dragomir
>
> Installed release thrift-0.2.0. The compiler generates java code with the
> methods setFieldValue, getFieldValue and isSet. However, in the TBase
> interface, these methods are marked as deprecated. This throws java compiler
> warnings when compiling the thrift generated library code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.