boolean (Object obj) { if (this == obj) return true; if (obj == null || obj.getClass() != getClass()) return false; GitContentRevision test = (GitContentRevision)obj; return myFile.equals(test.myFile) && myRevision.equals(test.myRevision); }