@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof MimeType)) { return false; } MimeType otherType = (MimeType) other; return (this.type.equalsIgnoreCase(otherType.type) && this.subtype.equalsIgnoreCase(otherType.subtype) && parametersAreEqual(otherType)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof MimeType)) { return false; } MimeType otherType = (MimeType) other; return (this.type.equalsIgnoreCase(otherType.type) && this.subtype.equalsIgnoreCase(otherType.subtype) && parametersAreEqual(otherType)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof MimeType)) { return false; } MimeType otherType = (MimeType) other; return (this.type.equalsIgnoreCase(otherType.type) && this.subtype.equalsIgnoreCase(otherType.subtype) && parametersAreEqual(otherType)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof MimeType)) { return false; } MimeType otherType = (MimeType) other; return (this.type.equalsIgnoreCase(otherType.type) && this.subtype.equalsIgnoreCase(otherType.subtype) && parametersAreEqual(otherType)); }