thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Riley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-1090) Document the generation of a file called "Constants.java"
Date Fri, 02 Dec 2011 03:54:40 GMT

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

Mike Riley commented on THRIFT-1090:
------------------------------------

Should I re-implement this as a language option?  From my perspective this is an inconsistency
that Java has when compared to the other languages: constants can't be defined in different
programs having the same namespace. On the other hand, if there is a consensus that it should
be added as an option it wouldn't be so difficult to implement.
                
> Document the generation of a file called "Constants.java"
> ---------------------------------------------------------
>
>                 Key: THRIFT-1090
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1090
>             Project: Thrift
>          Issue Type: Bug
>          Components: Documentation, Java - Library, Website
>            Reporter: Lars Francke
>            Priority: Minor
>         Attachments: thrift-1090.patch
>
>
> A file called "Constants.java" is generated per thrift file that includes any constants.
This should be documented somewhere because if you have multiple thrift files sharing the
same namespace there will be clashes.
> (there is no "documentation" component so feel free to adjust those)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message