489490491492493494495496497498499
} else { label = label.trim(); final CapitalizationType capType = ( this.transformLabelCase ? CapitalizationType.TITLE_STYLE : CapitalizationType.NO_CAPS ); label = this.definition.adapt( LocalizationService.class ).transform( label, capType, false ); } return label; }