package com.redpois0n.git;

public class Branch {

	private String name;
	private Commit commit;
	private String status;
	private boolean isSelected;

	public Branch(String name, Commit commit) {
		this.name = name;
		this.commit = commit;
	}

	public String getName() {
		return name;
	}

	public Commit getCommit() {
		return commit;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public boolean isSelected() {
		return isSelected;
	}

	public void setSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}

	@Override
	public boolean equals(Object o) {
		if (o instanceof Branch) {
			Branch branch = (Branch) o;
			
			return branch.getCommit().equals(getCommit());
		}
		
		return false;
	}
}

@@ -593,194 +593,7 @@
 ;%0A%09%7D
-%0A%0A%09@Override%0A%09public boolean equals(Object o) %7B%0A%09%09if (o instanceof Branch) %7B%0A%09%09%09Branch branch = (Branch) o;%0A%09%09%09%0A%09%09%09return branch.getCommit().equals(getCommit());%0A%09%09%7D%0A%09%09%0A%09%09return false;%0A%09%7D
 %0A%7D%0A

Remove branch equals method