/[Apache-SVN]
ViewVC logotype

Revision 735910


Jump to revision: Previous Next
Author: bryanduxbury
Date: Tue Jan 20 01:54:14 2009 UTC (15 years, 3 months ago)
Changed paths: 1
Log Message:
THRIFT-223 Validate method should check that enum types are assigned valid values

Enum classes now get a VALID_VALUES Set that contains all of the acceptable values. Structs' validate() method has been extended to compare an enum field's value to the valid value set, but only if the __isset flag for that field is true, meaning that non-beans generated code will not perform this validity check unless the __isset flag is manually maintained.

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26