In java:beans generator, when calling setX, if null is passed, set isset
accordingly
------------------------------------------------------------------------------------
Key: THRIFT-100
URL: https://issues.apache.org/jira/browse/THRIFT-100
Project: Thrift
Issue Type: Improvement
Components: Compiler (Java)
Reporter: Bryan Duxbury
Priority: Minor
The java beans generator creates getters and setters for all fields. However,
it assumes that when you call set whatever, that the value passed is a non-null
value, and sets isset to true no matter what. At the very least, it should set
isset based on whether the passed value is null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.