This patch switches to using the hashcode of the actual field id, instead of the field id enumeration.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@881559 
13f79535-47bb-0310-9956-
ffa450edef68
   if (gen_hash_code_) {
     indent(out) << "@Override" << endl;
     indent(out) << "public int hashCode() {" << endl;
-    indent(out) << "  return new HashCodeBuilder().append(getSetField()).append(getFieldValue()).toHashCode();" << endl;
+    indent(out) << "  return new HashCodeBuilder().append(getSetField().getThriftFieldId()).append(getFieldValue()).toHashCode();" << endl;
     indent(out) << "}";
   } else {
     indent(out) << "/**" << endl;