diff options
Diffstat (limited to 'Dozentenmodulserver/src/server/Image.java')
| -rw-r--r-- | Dozentenmodulserver/src/server/Image.java | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/Dozentenmodulserver/src/server/Image.java b/Dozentenmodulserver/src/server/Image.java index e142b86e..ec1a813f 100644 --- a/Dozentenmodulserver/src/server/Image.java +++ b/Dozentenmodulserver/src/server/Image.java @@ -5,20 +5,32 @@ * @generated */ package server; -import java.util.BitSet; -import java.util.Collections; -import java.util.EnumMap; -import java.util.EnumSet; -import java.util.HashMap; -import java.util.Map; - -import org.apache.thrift.protocol.TTupleProtocol; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; + import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; -@SuppressWarnings("serial") public class Image implements org.apache.thrift.TBase<Image, Image._Fields>, java.io.Serializable, Cloneable, Comparable<Image> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Image"); @@ -29,8 +41,7 @@ public class Image implements org.apache.thrift.TBase<Image, Image._Fields>, jav private static final org.apache.thrift.protocol.TField UPDATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("updateTime", org.apache.thrift.protocol.TType.STRING, (short)-5); private static final org.apache.thrift.protocol.TField USER_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("userData", org.apache.thrift.protocol.TType.STRING, (short)-6); - @SuppressWarnings("rawtypes") -private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); + private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new ImageStandardSchemeFactory()); schemes.put(TupleScheme.class, new ImageTupleSchemeFactory()); @@ -588,13 +599,11 @@ private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new return _Fields.findByThriftId(fieldId); } - @SuppressWarnings("unchecked") -public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } - @SuppressWarnings("unchecked") -public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @@ -676,8 +685,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. } private static class ImageStandardSchemeFactory implements SchemeFactory { - @SuppressWarnings("unchecked") - public ImageStandardScheme getScheme() { + public ImageStandardScheme getScheme() { return new ImageStandardScheme(); } } @@ -794,8 +802,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. } private static class ImageTupleSchemeFactory implements SchemeFactory { - @SuppressWarnings("unchecked") - public ImageTupleScheme getScheme() { + public ImageTupleScheme getScheme() { return new ImageTupleScheme(); } } |
