THRIFT-562. java: Java is inconsistent checking for required fields
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 20 Aug 2009 01:00:18 +0000 (01:00 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 20 Aug 2009 01:00:18 +0000 (01:00 +0000)
commit2c8cd944e50d4d69f00fde70ecee9c75ab924e2b
tree41f814525b669777887bba8df93b90af7c0ffe07
parent2f45e789f6f87d95cd17be91900476f6a50bb1c1
THRIFT-562. java: Java is inconsistent checking for required fields

This patch makes the compiler act consistently regarding what it means to be required or optional. Additionally, it cleans up the tests to actually use the Fixtures class all over.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@806014 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_java_generator.cc
lib/java/test/org/apache/thrift/test/DeepCopyTest.java
lib/java/test/org/apache/thrift/test/Fixtures.java
lib/java/test/org/apache/thrift/test/IdentityTest.java
lib/java/test/org/apache/thrift/test/JSONProtoTest.java
lib/java/test/org/apache/thrift/test/SerializationBenchmark.java
lib/java/test/org/apache/thrift/test/TCompactProtocolTest.java