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 05:51:56 UTC

[jira] Commented: (THRIFT-15) Name of struct 'constants' clashes with class name used for constants

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

David Reiss commented on THRIFT-15:
-----------------------------------

Well, the easiest thing to do would be to rename the enum.  But do people think we should change the name of the constants package to make collisions like this less likely?  I am leaning towards "no", myself.

> 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
>
> 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.