commit | dee6d4260c2cca0917d5a921460d16f062ab27d6 | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Tue Feb 23 19:06:25 2010 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Tue Feb 23 19:06:25 2010 +0000 |
tree | 5ff6132c6d41c11b572ffd174593c40cdf920781 | |
parent | 65073e5b116d1eb48ccc52c8446ebfdef4b36851 [diff] |
THRIFT-713. java: Java compareTo method throws NPE when any field isn't set. This patch fixes a somewhat egregious bug in the generated compareTo for non-union structs and avoids possible NPEs. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@915499 13f79535-47bb-0310-9956-ffa450edef68