r1415@opsdev009 (orig r74655): dreiss | 2007-12-17 18:54:06 -0800
Thrift: Make default values for base types work in Java.
Summary:
The Java generator wasn't setting default values for base types
in the zero argument constructor. This check was probably brought over
from the C++ generator, where base types are given their default values
in the member variable initializer list (or whatever that thing is called).
Blame Rev: Somewhere in the mysterious past. I tried to find it, but failed.
Reviewed By: mcslee
Test Plan: Recompiled Thrift and thrifted a file that showed the bug.
Revert Plan: ok
Other Notes:
Bug reported by Jake Luciani.
git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@726 41a61cd8-c433-0410-bb1c-e256eeef9e11