THRIFT-663. java: JavaBean code generator produces incorrect setter methods
authorBryan Duxbury <bryanduxbury@apache.org>
Sat, 3 Apr 2010 05:04:48 +0000 (05:04 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Sat, 3 Apr 2010 05:04:48 +0000 (05:04 +0000)
commitea7910faf3abc85e90ba88bc9615b2fa3e8efd2d
treeb2f709bcc00900f5a1c5984c96bd1be3f686ecd2
parent5557beffaecbd7b97a90ed38afc49c2a091aadba
THRIFT-663. java: JavaBean code generator produces incorrect setter methods

This patch causes the beans option to suppress the builder-style setter methods. It also adds a new 'private-members' option that leaves the builder-style methods, but makes the actual instance variables private.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@930474 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_java_generator.cc