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/ImageVersionWrite.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/ImageVersionWrite.java')
-rw-r--r-- | src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionWrite.java | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionWrite.java b/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionWrite.java index b159bdb..70a41fd 100644 --- a/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionWrite.java +++ b/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionWrite.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 ImageVersionWrite implements org.apache.thrift.TBase<ImageVersionWrite, ImageVersionWrite._Fields>, java.io.Serializable, Cloneable, Comparable<ImageVersionWrite> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ImageVersionWrite"); @@ -183,7 +186,7 @@ public class ImageVersionWrite implements org.apache.thrift.TBase<ImageVersionWr public Object getFieldValue(_Fields field) { switch (field) { case IS_RESTRICTED: - return Boolean.valueOf(isIsRestricted()); + return isIsRestricted(); } throw new IllegalStateException(); @@ -229,7 +232,14 @@ public class ImageVersionWrite implements org.apache.thrift.TBase<ImageVersionWr @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_isRestricted = true; + list.add(present_isRestricted); + if (present_isRestricted) + list.add(isRestricted); + + return list.hashCode(); } @Override |