/** * REVIEW: why not just compare the {@link #toString()} representations? */ @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!(obj instanceof Identifier)) { return false; } final Identifier other = (Identifier) obj; return equals(other); }
/** * REVIEW: why not just compare the {@link #toString()} representations? */ @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!(obj instanceof Identifier)) { return false; } final Identifier other = (Identifier) obj; return equals(other); }