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

Johan Stuyts updated THRIFT-15:
-------------------------------

    Attachment: constantsEnum.patch

This patch changes the name of enumeration {{constants}} to {{enumconstants}} 
to prevent a name clash with the generated class that holds constants.

As far as I could tell {{ConstantsDemo.thrift}} is not used for running tests, 
so the number of changes is small.

> Name of struct 'constants' clashes with class name used for constants
> ---------------------------------------------------------------------
>
>                 Key: THRIFT-15
>                 URL: https://issues.apache.org/jira/browse/THRIFT-15
>             Project: Thrift
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Johan Stuyts
>            Priority: Minor
>         Attachments: constantsEnum.patch
>
>
> The Thrift file {{ConstantsDemo.thrift}} In the directory {{test}} defines an 
> enum {{constants}}. The Java file generated for this enum is 
> {{constants.java}}. On case-insensitive filesystems this will clash with the 
> Java file generated for constants: {{Constants.java}}.

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

Reply via email to