diff options
author | Jonathan Bauer | 2016-01-07 13:55:40 +0100 |
---|---|---|
committer | Jonathan Bauer | 2016-01-07 13:55:40 +0100 |
commit | 5ba446543184d5af8185da23b9a5fd28133d5513 (patch) | |
tree | 5f0dc18ddee5ee2370f6c0226e5337987d393428 /src/main/java/org/openslx/bwlp/thrift/iface/TInvocationException.java | |
parent | [thrift] added generated Location class (diff) | |
download | master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.gz master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.xz master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.zip |
added "onlyInLocations" flag for LectureWrite
update thrift files to 0.9.3
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/TInvocationException.java')
-rw-r--r-- | src/main/java/org/openslx/bwlp/thrift/iface/TInvocationException.java | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/TInvocationException.java b/src/main/java/org/openslx/bwlp/thrift/iface/TInvocationException.java index e3cb257..3ea824b 100644 --- a/src/main/java/org/openslx/bwlp/thrift/iface/TInvocationException.java +++ b/src/main/java/org/openslx/bwlp/thrift/iface/TInvocationException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.1) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -29,9 +29,12 @@ import java.util.Collections; import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-04") public class TInvocationException extends TException implements org.apache.thrift.TBase<TInvocationException, TInvocationException._Fields>, java.io.Serializable, Cloneable, Comparable<TInvocationException> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TInvocationException"); @@ -302,7 +305,19 @@ public class TInvocationException extends TException implements org.apache.thrif @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_number = true && (isSetNumber()); + list.add(present_number); + if (present_number) + list.add(number.getValue()); + + boolean present_message = true && (isSetMessage()); + list.add(present_message); + if (present_message) + list.add(message); + + return list.hashCode(); } @Override @@ -413,7 +428,7 @@ public class TInvocationException extends TException implements org.apache.thrif switch (schemeField.id) { case 1: // NUMBER if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.number = InvocationError.findByValue(iprot.readI32()); + struct.number = org.openslx.bwlp.thrift.iface.InvocationError.findByValue(iprot.readI32()); struct.setNumberIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -490,7 +505,7 @@ public class TInvocationException extends TException implements org.apache.thrif TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.number = InvocationError.findByValue(iprot.readI32()); + struct.number = org.openslx.bwlp.thrift.iface.InvocationError.findByValue(iprot.readI32()); struct.setNumberIsSet(true); } if (incoming.get(1)) { |