Updating ComparatorType variable to final