fixed CS
Rename Specificity->compare() to compareTo()

Update for #11404 as proposed in the comments