You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Johan Stuyts (JIRA)" <ji...@apache.org> on 2008/05/19 11:57:57 UTC

[jira] Updated: (THRIFT-13) Do not generate constants class if Thrift file does not have any constants

     [ https://issues.apache.org/jira/browse/THRIFT-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Stuyts updated THRIFT-13:
-------------------------------

    Attachment: PreventGenerationOfConstantsIfNoConstantsDefined.patch

Patch which prevents generation of {{Constants.java}} if the Thrift file does not contain constant declarations.

> Do not generate constants class if Thrift file does not have any constants
> --------------------------------------------------------------------------
>
>                 Key: THRIFT-13
>                 URL: https://issues.apache.org/jira/browse/THRIFT-13
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java)
>            Reporter: Johan Stuyts
>            Priority: Minor
>         Attachments: PreventGenerationOfConstantsIfNoConstantsDefined.patch
>
>
> The file {{Constants.java}} is always generated even if the Thrift file does not contain constant declarations. If there are no constant declarations {{Constants.java}} should not be generated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.