[ 
https://issues.apache.org/jira/browse/THRIFT-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604004#comment-14604004
 ] 

ASF GitHub Bot commented on THRIFT-3193:
----------------------------------------

GitHub user roshan opened a pull request:

    https://github.com/apache/thrift/pull/531

    THRIFT-3193 Provide an option to use undated @Generated annotations

    The `@Generated` Java annotation has an optional date parameter. If this is 
generated by Thrift, then it becomes a bit of a pain to find the few generated 
files you care about and check them in (since everything will diff).
    
    We just auto-generate files and check them in, and this would result in 
commits with every file changing. This patch allows us to disable the date 
annotation when generating.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/roshan/thrift 
THRIFT-3193_suppress_date_value_for_generated_annotation

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/531.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #531
    
----
commit 521b208d4257f686b1efd19eeb60eb28a7684fda
Author: Roshan George <ros...@arjie.com>
Date:   2015-06-27T06:05:02Z

    Provide an option to use undated @Generated annotations

----


> Option to supress date value in @Generated annotation
> -----------------------------------------------------
>
>                 Key: THRIFT-3193
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3193
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Compiler
>    Affects Versions: 0.9.2
>            Reporter: Vitali Lovich
>
> https://issues.apache.org/jira/browse/THRIFT-1813 added the \@Generated 
> annotation but didn't provide a way to turn off generating the date.  This 
> causes issues in our automation which enforces that the generated files are 
> always unchanged.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to