@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass") public boolean equals(Object obj) { if (this == obj) { return true; } if (!(this instanceof AbstractCommand)) { return false; } final AbstractCommand<?> that = (AbstractCommand<?>) obj; return type == that.type && timestamp == that.timestamp && author.equals(that.author); }
@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass") public boolean equals(Object obj) { if (this == obj) { return true; } if (!(this instanceof AbstractCommand)) { return false; } final AbstractCommand<?> that = (AbstractCommand<?>) obj; return type == that.type && timestamp == that.timestamp && author.equals(that.author); }
@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass") public boolean equals(Object obj) { if (this == obj) { return true; } if (!(this instanceof AbstractCommand)) { return false; } final AbstractCommand<?> that = (AbstractCommand<?>) obj; return type == that.type && timestamp == that.timestamp && author.equals(that.author); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Commit)) { return false; } final Commit that = (Commit) o; return revision.equals(that.revision) && author.equals(that.author) && when == that.when && summary.equals(that.summary) && detail.equals(that.detail) && markup == that.markup; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Commit)) { return false; } final Commit that = (Commit) o; return revision.equals(that.revision) && author.equals(that.author) && when == that.when && summary.equals(that.summary) && detail.equals(that.detail) && markup == that.markup; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Commit)) { return false; } final Commit that = (Commit) o; return revision.equals(that.revision) && author.equals(that.author) && when == that.when && summary.equals(that.summary) && detail.equals(that.detail) && markup == that.markup; }