boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; GitStandardRemoteBranch branch = (GitStandardRemoteBranch)o; if (!myNameAtRemote.equals(branch.myNameAtRemote)) return false; if (!myRemote.equals(branch.myRemote)) return false; return true; }