From 5ba446543184d5af8185da23b9a5fd28133d5513 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 7 Jan 2016 13:55:40 +0100 Subject: added "onlyInLocations" flag for LectureWrite update thrift files to 0.9.3 --- .../openslx/bwlp/thrift/iface/OperatingSystem.java | 69 ++++++++++++++++------ 1 file changed, 52 insertions(+), 17 deletions(-) (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/OperatingSystem.java') diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/OperatingSystem.java b/src/main/java/org/openslx/bwlp/thrift/iface/OperatingSystem.java index 8466a67..364ad03 100644 --- a/src/main/java/org/openslx/bwlp/thrift/iface/OperatingSystem.java +++ b/src/main/java/org/openslx/bwlp/thrift/iface/OperatingSystem.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 OperatingSystem implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OperatingSystem"); @@ -422,7 +425,7 @@ public class OperatingSystem implements org.apache.thrift.TBase list = new ArrayList(); + + boolean present_osId = true; + list.add(present_osId); + if (present_osId) + list.add(osId); + + boolean present_osName = true && (isSetOsName()); + list.add(present_osName); + if (present_osName) + list.add(osName); + + boolean present_virtualizerOsId = true && (isSetVirtualizerOsId()); + list.add(present_virtualizerOsId); + if (present_virtualizerOsId) + list.add(virtualizerOsId); + + boolean present_architecture = true && (isSetArchitecture()); + list.add(present_architecture); + if (present_architecture) + list.add(architecture); + + boolean present_maxMemMb = true; + list.add(present_maxMemMb); + if (present_maxMemMb) + list.add(maxMemMb); + + boolean present_maxCores = true; + list.add(present_maxCores); + if (present_maxCores) + list.add(maxCores); + + return list.hashCode(); } @Override @@ -730,13 +765,13 @@ public class OperatingSystem implements org.apache.thrift.TBase(2*_map24.size); - for (int _i25 = 0; _i25 < _map24.size; ++_i25) + String _key25; + String _val26; + for (int _i27 = 0; _i27 < _map24.size; ++_i27) { - String _key26; - String _val27; - _key26 = iprot.readString(); - _val27 = iprot.readString(); - struct.virtualizerOsId.put(_key26, _val27); + _key25 = iprot.readString(); + _val26 = iprot.readString(); + struct.virtualizerOsId.put(_key25, _val26); } iprot.readMapEnd(); } @@ -896,13 +931,13 @@ public class OperatingSystem implements org.apache.thrift.TBase(2*_map30.size); - for (int _i31 = 0; _i31 < _map30.size; ++_i31) + String _key31; + String _val32; + for (int _i33 = 0; _i33 < _map30.size; ++_i33) { - String _key32; - String _val33; - _key32 = iprot.readString(); - _val33 = iprot.readString(); - struct.virtualizerOsId.put(_key32, _val33); + _key31 = iprot.readString(); + _val32 = iprot.readString(); + struct.virtualizerOsId.put(_key31, _val32); } } struct.setVirtualizerOsIdIsSet(true); -- cgit v1.2.3-55-g7522