THRIFT-588. java: Generated .equals method throws NPE for thrift object
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 25 Sep 2009 20:28:35 +0000 (20:28 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 25 Sep 2009 20:28:35 +0000 (20:28 +0000)
commit315a5dbe29213aa70750f4e93542e1d72f3b0bb9
treea7cf17a5eedae6c0f60d4bdb2605c3125cdd4ef3
parentbff2a35adf75e5da3483facab647601a73a1f9ee
THRIFT-588. java: Generated .equals method throws NPE for thrift object

If other is null, then they're not equal.

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