Why thrift don't use wrapped class for optional fields ? --------------------------------------------------------
Key: THRIFT-1535 URL: https://issues.apache.org/jira/browse/THRIFT-1535 Project: Thrift Issue Type: Improvement Components: Java - Library Environment: any Reporter: Ihor Mysak Priority: Minor JAVA only: in generated sources I see follow: public double size; // optional so I need use two methods : double getSize() and boolean isSetSize() for use it. I guess you can change optional params on standard wrapped class: int -> Integer, double -> Double if value was uncheck -> null. one method one field, simple and easy -- 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