in flume-legacy-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java [566:584]
public int compareTo(append_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.valueOf(isSetEvt()).compareTo(other.isSetEvt());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetEvt()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.evt, other.evt);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}