You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2008/05/27 04:59:56 UTC
[jira] Resolved: (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 ]
David Reiss resolved THRIFT-13.
-------------------------------
Resolution: Fixed
I did this slightly differently.
> 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.