Class LabelNormalizer


  • public class LabelNormalizer
    extends Object
    Normalizes votes on labels according to project config.

    Votes are recorded in the database for a user based on the state of the project at that time: what labels are defined for the project. The label definition can change between the time a vote is originally made and a later point, for example when a change is submitted. This class normalizes old votes against current project configuration.