boolean (Object o) { if (this == o) return true; if (!(o instanceof CommitTask)) return false; CommitTask task = (CommitTask)o; return Comparing.equal(document, task.document) && project.equals(task.project); }