[
https://issues.apache.org/jira/browse/THRIFT-3220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-3220.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.9.3
Committed.
I made some additional changes to align this and THRIFT-3193. The new syntax is
now as follows:
{code}
generated_annotations=[undated|suppress]:
undated: suppress the date at @Generated annotations
suppress: suppress @Generated annotations entirely
{code}
Especially I want to emphasize that it is *not bound to the {{android}} option*
as proposed by [~notona], instead this setting is to be made via the new
{{generated_annotations}} option as outlined above.
> Option to suppress @Generated Annotation entirely
> -------------------------------------------------
>
> Key: THRIFT-3220
> URL: https://issues.apache.org/jira/browse/THRIFT-3220
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (General)
> Affects Versions: 0.9.2
> Reporter: notona
> Assignee: Jens Geyer
> Priority: Minor
> Fix For: 0.9.3
>
> Attachments:
> THRIFT-3220-Option-to-suppress-Generated-Annotation-.patch
>
>
> Generated Java RPC Client Code is using @Generated Annotation.
> But Android does not support @Generated Annotation.
> so i think, thrift dont' have to create @Generated Annotation when using
> thrift command with java:android option.
> here is the pull request
> https://github.com/apache/thrift/pull/540
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)