@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Commit) return this.equals((Commit)that); return false; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Commit) return this.equals((Commit)that); return false; }
public boolean equals(Repository that) { if (that == null) return false; boolean this_present_name = true && this.isSetName(); boolean that_present_name = true && that.isSetName(); if (this_present_name || that_present_name) { if (!(this_present_name && that_present_name)) return false; if (!this.name.equals(that.name)) return false; } boolean this_present_head = true && this.isSetHead(); boolean that_present_head = true && that.isSetHead(); if (this_present_head || that_present_head) { if (!(this_present_head && that_present_head)) return false; if (!this.head.equals(that.head)) return false; } return true; }
public boolean equals(Repository that) { if (that == null) return false; boolean this_present_name = true && this.isSetName(); boolean that_present_name = true && that.isSetName(); if (this_present_name || that_present_name) { if (!(this_present_name && that_present_name)) return false; if (!this.name.equals(that.name)) return false; } boolean this_present_head = true && this.isSetHead(); boolean that_present_head = true && that.isSetHead(); if (this_present_head || that_present_head) { if (!(this_present_head && that_present_head)) return false; if (!this.head.equals(that.head)) return false; } return true; }