Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Attributes] Avoid duplicate hasAttribute() query (NFC)
removeAttribute() already performs a hasAttribute() check, so no need to also do it in the caller. Instead check whether the attribute set was changed. This makes the implementations in line with removeAttributesAtIndex().
- Loading branch information