@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_revision = true && (isSetRevision()); list.add(present_revision); if (present_revision) list.add(revision); boolean present_author = true && (isSetAuthor()); list.add(present_author); if (present_author) list.add(author); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if (present_timestamp) list.add(timestamp); boolean present_summary = true && (isSetSummary()); list.add(present_summary); if (present_summary) list.add(summary); boolean present_detail = true && (isSetDetail()); list.add(present_detail); if (present_detail) list.add(detail); boolean present_diffs = true && (isSetDiffs()); list.add(present_diffs); if (present_diffs) list.add(diffs); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_revision = true && (isSetRevision()); list.add(present_revision); if (present_revision) list.add(revision); boolean present_author = true && (isSetAuthor()); list.add(present_author); if (present_author) list.add(author); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if (present_timestamp) list.add(timestamp); boolean present_summary = true && (isSetSummary()); list.add(present_summary); if (present_summary) list.add(summary); boolean present_detail = true && (isSetDetail()); list.add(present_detail); if (present_detail) list.add(detail); boolean present_diffs = true && (isSetDiffs()); list.add(present_diffs); if (present_diffs) list.add(diffs); return list.hashCode(); }
lastComparison = Boolean.valueOf(isSetDiffs()).compareTo(other.isSetDiffs()); if (lastComparison != 0) { return lastComparison; if (isSetDiffs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.diffs, other.diffs); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetDiffs()).compareTo(other.isSetDiffs()); if (lastComparison != 0) { return lastComparison; if (isSetDiffs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.diffs, other.diffs); if (lastComparison != 0) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case REVISION: return isSetRevision(); case AUTHOR: return isSetAuthor(); case TIMESTAMP: return isSetTimestamp(); case SUMMARY: return isSetSummary(); case DETAIL: return isSetDetail(); case DIFFS: return isSetDiffs(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case REVISION: return isSetRevision(); case AUTHOR: return isSetAuthor(); case TIMESTAMP: return isSetTimestamp(); case SUMMARY: return isSetSummary(); case DETAIL: return isSetDetail(); case DIFFS: return isSetDiffs(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public Commit(Commit other) { if (other.isSetRevision()) { this.revision = new Revision(other.revision); } if (other.isSetAuthor()) { this.author = new Author(other.author); } if (other.isSetTimestamp()) { this.timestamp = other.timestamp; } if (other.isSetSummary()) { this.summary = other.summary; } if (other.isSetDetail()) { this.detail = new Comment(other.detail); } if (other.isSetDiffs()) { List<Change> __this__diffs = new ArrayList<Change>(other.diffs.size()); for (Change other_element : other.diffs) { __this__diffs.add(new Change(other_element)); } this.diffs = __this__diffs; } }
/** * Performs a deep copy on <i>other</i>. */ public Commit(Commit other) { if (other.isSetRevision()) { this.revision = new Revision(other.revision); } if (other.isSetAuthor()) { this.author = new Author(other.author); } if (other.isSetTimestamp()) { this.timestamp = other.timestamp; } if (other.isSetSummary()) { this.summary = other.summary; } if (other.isSetDetail()) { this.detail = new Comment(other.detail); } if (other.isSetDiffs()) { List<Change> __this__diffs = new ArrayList<Change>(other.diffs.size()); for (Change other_element : other.diffs) { __this__diffs.add(new Change(other_element)); } this.diffs = __this__diffs; } }
boolean this_present_diffs = true && this.isSetDiffs(); boolean that_present_diffs = true && that.isSetDiffs(); if (this_present_diffs || that_present_diffs) { if (!(this_present_diffs && that_present_diffs))
boolean this_present_diffs = true && this.isSetDiffs(); boolean that_present_diffs = true && that.isSetDiffs(); if (this_present_diffs || that_present_diffs) { if (!(this_present_diffs && that_present_diffs))