diff options
author | Björn Hagemeister | 2014-11-12 15:01:39 +0100 |
---|---|---|
committer | Björn Hagemeister | 2014-11-12 15:01:39 +0100 |
commit | bcc7a3761ce5801d747653f6f97b094c9ccdbb45 (patch) | |
tree | 384c9331c2f0c99ce76608ab628ab02fa8772e7d /src/main/java/org/openslx/imagemaster/thrift/iface/ImageDataException.java | |
parent | Parametrized Enumerator. (diff) | |
download | master-sync-shared-bcc7a3761ce5801d747653f6f97b094c9ccdbb45.tar.gz master-sync-shared-bcc7a3761ce5801d747653f6f97b094c9ccdbb45.tar.xz master-sync-shared-bcc7a3761ce5801d747653f6f97b094c9ccdbb45.zip |
Added class for reading proxy setting from proxy configuration file.
Added class utils for some necessary tools, used in ProxyConfiguration.
Diffstat (limited to 'src/main/java/org/openslx/imagemaster/thrift/iface/ImageDataException.java')
-rw-r--r-- | src/main/java/org/openslx/imagemaster/thrift/iface/ImageDataException.java | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/main/java/org/openslx/imagemaster/thrift/iface/ImageDataException.java b/src/main/java/org/openslx/imagemaster/thrift/iface/ImageDataException.java index a5ac923..dbf28cd 100644 --- a/src/main/java/org/openslx/imagemaster/thrift/iface/ImageDataException.java +++ b/src/main/java/org/openslx/imagemaster/thrift/iface/ImageDataException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.1) + * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -15,8 +15,6 @@ 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; @@ -32,7 +30,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ImageDataException extends TException implements org.apache.thrift.TBase<ImageDataException, ImageDataException._Fields>, java.io.Serializable, Cloneable, Comparable<ImageDataException> { +public class ImageDataException extends TException implements org.apache.thrift.TBase<ImageDataException, ImageDataException._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ImageDataException"); private static final org.apache.thrift.protocol.TField NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("number", org.apache.thrift.protocol.TType.I32, (short)1); @@ -305,30 +303,30 @@ public class ImageDataException extends TException implements org.apache.thrift. return 0; } - @Override public int compareTo(ImageDataException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; + ImageDataException typedOther = (ImageDataException)other; - lastComparison = Boolean.valueOf(isSetNumber()).compareTo(other.isSetNumber()); + lastComparison = Boolean.valueOf(isSetNumber()).compareTo(typedOther.isSetNumber()); if (lastComparison != 0) { return lastComparison; } if (isSetNumber()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.number, other.number); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.number, typedOther.number); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); if (lastComparison != 0) { return lastComparison; } |