mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
3b15ebc251
- Add a new method to t_java_generator that generates a .equals() method. - Add a correct but useless implementation of hashCode for structs. (This is required by conventino when overriding .equals().) - Add java_package to DebugProtoTest and OptionalRequiredTest. - Add a new structure to OptionalRequiredTest to assist testing the behavior of .equals() with respect to null and unset fields. - Clean up test/java/build.xml a bit. (It still has a ways to go.) - Add EqualityTest.java to test .equals(). - Add IdentityTest.java to test that writing and reading a structure preserves equality. Tested by runnint atn test. I also looked at the generated code for OptionalRequiredTest.thrift. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665541 13f79535-47bb-0310-9956-ffa450edef68 |
||
---|---|---|
.. | ||
src | ||
Makefile.am | ||
README |
Thrift Code Compiler Author: Mark Slee (mcslee@facebook.com) Last Modified: 2007-Mar-06 Thrift is distributed under the Thrift open source software license. Please see the included LICENSE file. Thrift Code Compiler ==================== This compiler takes thrift files as input and generates output code across various programming languages. To build and install it, do this: ./bootstrap.sh ./configure make sudo make install It requires some form of LEX and YACC to be installed, which should be picked up by autoconf. Not much else to report here. You'll have to look at the code to get your questions answered. Or just run the executable after you build and take a look at the usage message.